DeveiceIoControl for disk serial number

HDD Serial

Hi,

To obtain the HDD Serial,

Imports Microsoft.Win32

and

HDDSerial = DriveInfo.CDriveInfo.GetDriveInfo("C:\").SerialNumber.ToString

try this, it works for me!

Matt
 
Back
Top