Click here to Skip to main content
15,917,731 members
Home / Discussions / C#
   

C#

 
GeneralGeneral question about file updating Pin
Member 18639967-Apr-05 7:00
Member 18639967-Apr-05 7:00 
GeneralRe: General question about file updating Pin
Colin Angus Mackay7-Apr-05 12:45
Colin Angus Mackay7-Apr-05 12:45 
GeneralWrong Decryption Output Pin
thanhnhahuynh7-Apr-05 6:59
thanhnhahuynh7-Apr-05 6:59 
GeneralRe: Wrong Decryption Output Pin
mav.northwind7-Apr-05 20:15
mav.northwind7-Apr-05 20:15 
GeneralHtml stripping regex Pin
OmegaSupreme7-Apr-05 5:59
OmegaSupreme7-Apr-05 5:59 
GeneralAnalyzing javascript functions Pin
ShajeeDotNet7-Apr-05 5:03
ShajeeDotNet7-Apr-05 5:03 
GeneralUSB ejection Pin
Pyro Joe7-Apr-05 4:51
Pyro Joe7-Apr-05 4:51 
GeneralRe: USB ejection Pin
Dave Kreskowiak7-Apr-05 5:42
mveDave Kreskowiak7-Apr-05 5:42 
There's nothing in the .NET FCL that will do this. You'll have to use the Win32 API DeviceIoCtl functions to get at the USB bus, enumerate it, find the device your looking for, then build the appropriate IOCTL message and send it to the Device Manager. There is very little information around to do this, so you'll have to do a bunch of your own research. A Managed C++ .DLL might help you out alot in this situation, saving you from P/Invoking the Device Management functions and structures.

Google for "USB C# DeviceIoControl" and you should come up with at least a few tidbits to get you started.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: USB ejection Pin
Joel Lucsy8-Apr-05 15:29
Joel Lucsy8-Apr-05 15:29 
GeneralReading data from a .rar formatted file Pin
AfzalHassen7-Apr-05 4:29
AfzalHassen7-Apr-05 4:29 
GeneralRe: Reading data from a .rar formatted file Pin
techieboi7-Apr-05 4:48
techieboi7-Apr-05 4:48 
GeneralRe: Reading data from a .rar formatted file Pin
AfzalHassen7-Apr-05 20:14
AfzalHassen7-Apr-05 20:14 
Generaldeactivate the possibility to connect a usb-device Pin
mcyrrer7-Apr-05 4:12
mcyrrer7-Apr-05 4:12 
GeneralRe: deactivate the possibility to connect a usb-device Pin
Dave Kreskowiak7-Apr-05 4:58
mveDave Kreskowiak7-Apr-05 4:58 
GeneralShell parameters - get them Pin
Seraphin7-Apr-05 3:48
Seraphin7-Apr-05 3:48 
GeneralRe: Shell parameters - get them Pin
hooray7-Apr-05 4:06
hooray7-Apr-05 4:06 
Generalable in sqlInserting into SQL server Pin
cmitty7-Apr-05 3:46
cmitty7-Apr-05 3:46 
GeneralCreating objects at Runtime Pin
NeoPolaris7-Apr-05 2:54
NeoPolaris7-Apr-05 2:54 
GeneralRe: Creating objects at Runtime Pin
Ryan Roberts7-Apr-05 3:41
Ryan Roberts7-Apr-05 3:41 
GeneralRe: Creating objects at Runtime Pin
mav.northwind7-Apr-05 8:40
mav.northwind7-Apr-05 8:40 
GeneralRe: Creating objects at Runtime Pin
Ashok Dhamija7-Apr-05 3:42
Ashok Dhamija7-Apr-05 3:42 
GeneralRe: Creating objects at Runtime Pin
J4amieC7-Apr-05 4:26
J4amieC7-Apr-05 4:26 
GeneralRe: Creating objects at Runtime Pin
Dave Kreskowiak7-Apr-05 4:55
mveDave Kreskowiak7-Apr-05 4:55 
GeneralRe: Creating objects at Runtime Pin
Ashok Dhamija7-Apr-05 17:45
Ashok Dhamija7-Apr-05 17:45 
Generalcombobox in sourcegrid2 Pin
nisrina7-Apr-05 2:26
nisrina7-Apr-05 2:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.