Possible Duplicate:
Path of the USB devices which are connected to the machine?
I'm working开发者_JAVA技巧 on a tool which perform different kind of copying - from and to different kind of USB devices, is there any way to know which kind of USB device is connected to my machine through the code? I need it for the copying path
you need to listen for removable device events and write your code there. i have a post about this here: Listen for removable device events
精彩评论