eject usb using c#

  • Thread starter Thread starter Claudia Fong
  • Start date Start date
C

Claudia Fong

Is it possible to eject usb device using c#?
After work is done I want the application to automatically eject the usb
device so the user doesn't need to click on the system tray safetly
remove device



Cheers!

Claudi
 
Is it possible to eject usb device using c#?
After work is done I want the application to automatically eject the usb
device so the user doesn't need to click on the system tray safetly
remove device

Cheers!

    Claudi

*** Sent via Developersdexhttp://www.developersdex.com***

Hi,

There is no support for tha tin the framework, what you could do is
look for the API function that does that and call that function from
your code using P/invoke. WMI might be another possibility
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top