Prakash Bhagat
Prakash Bhagat

Reputation: 1446

Find USB Mass Storage Instance Id based on Drive Letter in Window

I have a requirement in which I need to fetch USB Mass Storage Metadata [VID, PID and Serial No].

I found a nice post for enumerating USB devices and list out all the Mass storage Devices.

Here is the link

Now What I want is based on the drive letter, need to retrieve USB Mass Storage Metadata.

Thanks in advance for your kind support.

Upvotes: 1

Views: 1199

Answers (1)

MSalters
MSalters

Reputation: 179779

If you had read and understood the "USB drive to drive letter" questions, this one would have been simple too. Enumerate both, compare, pick the match. Works in both directions.

Upvotes: 1

Related Questions