How to find the drive letter of an USB mass storage drive using VID and PID in C#?
问题 We design a USB MSD product, for that we need to write a C# application which will do some processing on the files stored in the memory. Can anybody advise me,how to detect whether an USB device with a particular VID+PID is connected to the computer and if so, what is the drive letter(Or root drive path)? I could able to find examples to detect whether a particular( VID+PID ) USB device is present or not. And also could able to find example programs to detect the available removable drives