Click here to Skip to main content
15,889,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi friend ,I am working on a project(in window application of c#) in which I need to find out the status of a usb device.
means what after inserting usb device like a pen drive ,
how much power it is consuming.
And I am not using any Third party API.
can anybody please help me.
it is very urgent
Posted
Updated 5-Oct-10 0:02am
v9
Comments
senguptaamlan 1-Oct-10 3:20am    
are you using any third party API...if yes please mention that.
Hiren solanki 1-Oct-10 6:08am    
Minor edit for grammer.

1 solution

You have tagged the question ASP.NET so I am considering you are talking about a web application.

I don't think it would be possible because a web application shouldn't be allowed to access devices on a client machine. That would be a security threat to the client machine.
This[^] thread may help you.
 
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