How to remove a USB drive using C #

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.

+4
source share
1 answer

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!

+7
source

All Articles