I would like to know how to go about ejecting a removable drive (i.e. USB or
PCMCIA) drive using .NET. Any assistance would be greatly appreciated.
Hi,
Below link should help you:
http://www.codeproject.com/useritems/usbeject.asp

Signature
Hope this helps.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
> I would like to know how to go about ejecting a removable drive (i.e. USB or
> PCMCIA) drive using .NET. Any assistance would be greatly appreciated.
decclestone - 21 Jun 2007 13:40 GMT
Thanks, this is a very good article but it's not really what I'm looking for.
I'm using a PCMCIA Hard Drive and a USB Card Reader. When I use the demo
from the CodeProject article it ejects the USB device for the Card Reader
rather than ejecting the PCMCIA Hard Drive. This means that I need to
disconnect and re-connect the USB Card Reader to have it detect the card
again. I just want to be able to eject the PCMCIA Card and then re-insert a
new card. There seems to be a difference between ejecting a drive and using
the Safely Remove Hardware.
> Hi,
> Below link should help you:
> http://www.codeproject.com/useritems/usbeject.asp
>
> > I would like to know how to go about ejecting a removable drive (i.e. USB or
> > PCMCIA) drive using .NET. Any assistance would be greatly appreciated.