开发者

looking for way to know through the code which USB device is connected to the machine? [duplicate]

开发者 https://www.devze.com 2023-01-30 05:49 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: Path of the USB devices which are connected to the machine?
This question already has answers here: Closed 11 years ago.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号