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,850
  • 9
  • 56
  • 64

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
  • 20,659
  • 8
  • 70
  • 106