Good day.
I need some help. I want to make program in Delphi, and one of functions of this program: distinguish flash drives. For example: I connect new flash drive to computer, my program detect it too, I give to this flash drive some name ONLY in my program. Next, I can change anything: name of flash drive in Windows, content at this flash drive, format it. But after this actions my program should detect this flash drive and show me name, that I gave to it.
May be, there is some serial number, unique for any device/falsh drive? Or something like that.
Will be very grateful for your help =)
Take a look here:
Data exchange directy to USB device with VID and PID in Delphi
You could read the Vendor ID, and Product ID of the thumbdrive. This will at least give you the brand and make of the thumbdrive. I don't think it will be unique to each thumbdrive of the same type though.
It looks like these might also be right up your alley:
How to find the unique serial number of a flash device?
How to get manufacturer serial number of an USB flash drive?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With