I am trying to make a small desktop application in which i have to check whether the USB is connected to the computer or NOT? Please help me with this. I have searched hard on this but i am not satisfied. Thank you in advance.
Asked
Active
Viewed 151 times
-1
-
You haven't searched enough, then: http://stackoverflow.com/questions/620144/detecting-usb-drive-insertion-and-removal-using-windows-service-and-c-sharp – Geeky Guy Jul 04 '13 at 18:56
-
Are you trying to detect a USB drive? Or some other USB device? – Gayot Fow Jul 04 '13 at 18:56
1 Answers
0
I think that the way to go would be to enumerate the usb devices connected to the computer then searching for the one you want. There is another question on SO about usb enumeration
-
Thanks Sir. I think i have to go from this approach with the SELECT statement. – Rana Waleed Jul 04 '13 at 20:29