I'm familiar with VolumeSerialNumber, i need the Disk ID same as shown in diskpart:
WD My Passport 0740 USB Device Disk ID: 08B29B51 Type : USB Status : Online Path : 0 Target : 0 LUN ID : 0 Location Path : UNAVAILABLE Current Read-only State : No Read-only : No Boot Disk : No Pagefile Disk : No Hibernation File Disk : No Crashdump Disk : No Clustered Disk : No
I can't find anything on the web (WMI) or forums that supports this request. Anybody has an idea?
This is the Method i created for getting DiskID from Driveletter. Probably are better ways to do this, but this worked for me for now. Thanks for all your help.