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.
C# – How to remove USB drive using C#
cusbusb-drive
Related Topic
- C# – How to enumerate an enum
- C# – Best way to repeat a character in C#
- C# – LINQ’s Distinct() on a particular property
- C# – way to check if a file is in use
- C# – How to remedy “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning
- C# – JavaScriptSerializer – JSON serialization of enum as string
- C# – Efficient way to remove ALL whitespace from String
- Scala: list.flatten: no implicit argument matching parameter type (Any) = > Iterable[Any] was found
Best Answer
Heres a link to what your looking for:
Eject USB disks using C#
Explains how to do it, and come with source code, enjoy!