USB Device

FuZion

Well-known member
Joined
Jan 28, 2007
Messages
47
Programming Experience
Beginner
Hello,

I have a small project to create, but I have no experience with USB and it is causing some problems for me. Basically, all I need to do is detect when a specific flash drive is detected. It has to be a specific one, I think you can identify it by a serial number but I'm not sure about that. Once it is detected I will need the drive name. Then I'm all set.

Is this possible?

Thanks in advance!

FuZion
 
This question has nothing to do with Windows Forms so I've moved it from the Windows Forms forum. Please post in the most appropriate forum for the subject matter.
 
I'm not very strong with WMI but I believe you'd need to set up a System.Management.ManagementEventWatcher and set up a handler to watch for devices arriving.

Someone here may be able to provide you with code to help you out but this should at least give you a direction to start Googling.
 
Back
Top