Click here to Skip to main content
15,885,772 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello. I have tried alot of codes to detect USB insert, every thing I found did not detect a portable device connection.

I dont need to get information from the device, only to know if somthing has been connected.

any of the following languages will do:
C#, java, python.

any idea's? Thanx ahead.
Posted
Updated 28-Sep-15 4:38am
v2
Comments
[no name] 28-Sep-15 10:43am    
This: A USB Library to Detect USB Devices[^]
And this:How to tell a user that a usb device is connected to the pc in vb.net ?[^]

And much more... Otherwise specified more where you stuck.
Member 11840132 28-Sep-15 10:53am    
I did say. and i tried the code above.
it did not detect my phone. ill edit my post.
Maciej Los 28-Sep-15 12:26pm    
You said that you tried "alot" of codes, but does not mean that you tried above.
[no name] 28-Sep-15 12:37pm    
How true :)
Bruno
Maciej Los 28-Sep-15 13:20pm    
;)

1 solution

 
Share this answer
 
Comments
[no name] 28-Sep-15 12:38pm    
My 5. Bruno
Maciej Los 28-Sep-15 13:18pm    
Thank you, Bruno.

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