Home All Groups Group Topic Archive Search About

"Safely Remove USB" via .NET

Author
16 Dec 2006 7:11 PM
Alex Maghen
I'm trying to figure out how, from a .Net Windows Forms application, I can
programmatically do the "Safely Remove Hardware" functionality to unmount (or
make ready for unplugging) a USB device - specifically, a USB-connected
storage drive.

Author
18 Dec 2006 8:50 AM
Yves. L.
Hi just my 2€c.
You could try with some WMI queries.
Yvesl

Alex Maghen wrote:
Show quote
> I'm trying to figure out how, from a .Net Windows Forms application, I can
> programmatically do the "Safely Remove Hardware" functionality to unmount (or
> make ready for unplugging) a USB device - specifically, a USB-connected
> storage drive.
Author
18 Dec 2006 8:58 AM
Vadym Stetsyak
Hello, Alex!

Maybe this ( http://www.codeproject.com/useritems/usbeject.asp )
can help you

You wrote  on Sat, 16 Dec 2006 11:11:00 -0800:

AM> I'm trying to figure out how, from a .Net Windows Forms application, I
AM> can programmatically do the "Safely Remove Hardware" functionality to
AM> unmount (or make ready for unplugging) a USB device - specifically, a
AM> USB-connected storage drive.

With best regards, Vadym Stetsyak.  E-mail: vady***@ukr.net

AddThis Social Bookmark Button