9

I need to connect and disconnect USB devices, such as flash drives, in a programmatical manner, without unplugging and re-plugging the device.

Is there any way to do it in a C# Windows application?

Smi
  • 13,151
  • 9
  • 55
  • 63

1 Answers1

3

You might want to look at some related questions:

Both of the approaches mentioned in the answers are readily translatable to C#.

Community
  • 1
  • 1
Shalom Craimer
  • 19,599
  • 8
  • 69
  • 104