Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
4.33/5 (2 votes)
See more:
I am using a USB class for a reader writer. can I make the device off programatically.The device is taking power from usb port that is taking its power from the usb port. :)
Posted

You might use Win32 management api to do this.

See this article :
Eject USB disks using C#[^]

I hope this will help you.
:rose:
 
Share this answer
 
it depends whether the device provide "DLL" for C# to import so that you can call them and handle
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900