How to find the drive letter of an USB mass storage drive using VID and PID in C#? -


we design usb msd product, need write c# application processing on files stored in memory.

can advise me,how detect whether usb device particular vid+pid connected computer , if so, drive letter(or root drive path)?

i able find examples detect whether particular(vid+pid) usb device present or not. , able find example programs detect available removable drives , path...etc.

is there example programs in c# combining these together?

thanks support.

i going suggest using wrapper around setupapi looks else has put answer. devcon.exe (driver tool) , openvpn


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -