I am trying to write an application to remove USB drives, but I cannot find a way to do this. Is there a .NET class for this or using the Win32 API? All tips are welcome, thanks for the help.
Here is a link to what you are looking for:
Eject USB Drives Using C #
Explains how to do this, and come with the source code, enjoy!