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
Post a Comment