Old story of HDD Serial, New Issues..[Long Live WMI]
In a thread there was a discussion about how to get the HDD serial number. There, an API was suggested that returned the VOLUME serial number. Today I came across FileSystemObject, that by using that you can simply get the VOLUME serial number:
After adding a reference to Microsoft Scripting Runtime COM component you can easily do that by:
VB Code:
Imports Scripting
'
'
Dim fso As New FileSystemObject()
MessageBox.Show(fso.GetDrive("C").SerialNumber.ToString)
As you see this method and that API call both return the Volume Serial number.
I like to know is there a way to read the hard-coded manufacturer's hard drive serial number? Just curious to know :)