Hard Disk's Serial Number

preetha Ajayan's Avatar, Join Date: May 2007
Newbie Member
Could anybody please help me with a piece of code to get hard disk's serial number using C#, not volume serial number, actual number that manufactures give to hard disks.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You can use the GetVolumeInformation API