Possible Duplicate:
How to programatically unplug & replug an arbitrary USB device?
I have a USB device that sometimes gets lost (just doesn t work anymore, probably because the driver or the product itself is not so good). however, an application I write relies on this device. what i need to do to get the device working again is plugging it out and in again.
I want to know whether i can do that somehow automatically from my C# application? like disabling and reenabling the usb port?