Ejecting a Removable Drive using .NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.
 
Back
Top