i have developed a desktop based application using C#.NET, which require access to some USB based devices.
I have to use this application on target PCs in which the USB port is disabled by the system administrator.
From the application, i wants to enable & disable the USB drives programatically, so that no other application can use the USB ports, as per configured by the system administrator.
ie, enable the USB port before the application require access to the USB port it & disable it after the use.
I need to achieve the same when the application is running in a login, who doesn't have administrative rights.
Is it possible to achieve the same using .NET framework?
Do any one knows how to implement the same. If so, please inform me.
My application has to run on a system in which the USB ports are disabled by the system administrator.
From my application i have to enable the USB drive, so that only a particular USB device must be able to use the USB drive. My application uses this USB device & finally when the application finishes using the USB device, i have to disable the USB drive again from the application.
All the above actions i have to perform in a non adminisrator login.
If you have any information regarding the same, plz let me know
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook
I am doing a project in .net c# 2.0 with sqlserver2005
i have a listbox in the form in which i need to display some data from database.
i need to get the loginnames of those clients who have levelid= 2 and 3, and who r logged in.
For levelid and logindatetime are stored in 2 different tables 'login' and 'dealerlogin' respectively.
Now to get his data i queried (in sqlserveranalyzer): select loginname from login as a, dealerlogin as b where ((b.levelid = 2) or (b.levelid = 3)) AND ((a.logindatetime is not null) and (a.logoutdatetime is null))
But there is some error. There is some problem in joining the 2 diff. clauses of 2 diff. tables.
How can i do this?
Hope to get a reply.
I can able to view my entire assembly using Lutz Roeder’s Reflector Tool.
.NET Reflector, which is a class browser and decompiler that can examine an assembly and show you just about all of its secrets.
but, How do I encrypt or protect my MSIL and cannot be read? Which means, I would like to completely eliminate the metadata information stored in my assemblies such as class and methods names. I can do so using the obfuscator tools offered by various vendors. But, how do I enforce a restriction on a class or method and all its members by pure code.
Last Visit: 31-Dec-99 18:00 Last Update: 23-Sep-23 14:53