Saturday, July 05, 2008 4:10 PMHi,
I need to identify all connected usb drives uniquely. when a usb drive (pen drive or external usb hard disk) is connected, i intend to identify it uniquely and store it somewhere. Next time when this same drive is plugged again, i intend to use the stored identification info to identify the drive.
any pointers in this regard would be grately appreciated.
Saturday, July 05, 2008 5:03 PM
You can use WMI to do this.
Here are some articles to get you started:
If you don't want to use WMI, an alternative would perhaps be to catch the WM_DEVICECHANGE message.
- Marked As Answer by Michael Sun [MSFT]Microsoft Employee, Moderator Wednesday, July 09, 2008 1:15 AM
Saturday, July 05, 2008 6:49 PM
- Marked As Answer by Michael Sun [MSFT]Microsoft Employee, Moderator Wednesday, July 09, 2008 1:16 AM
Saturday, July 05, 2008 6:55 PM
Saturday, July 05, 2008 6:59 PM