I'm trying to write an application to remove USB Drives, but i can't find a way to do it. There's a .NET class to do this or it's possible using the Win32 API? All advises are welcome, thanks for the help.
+6
A:
Heres a link to what your looking for:
http://www.codeproject.com/KB/system/usbeject.aspx
Explains how to do it, and come with source code, enjoy!
David Menard
2009-07-28 15:15:19
could you make that a link instead of a code block?
Matthew Whited
2009-07-28 15:18:10
Thanks for the help =)
doc
2009-07-28 15:23:05
no problem, sry for code block lol
David Menard
2009-07-28 15:26:55