Get Hard Drive Serial Number Delphi
Hi, I want to get manufacturer's harddisk serial number (note: not' volume serial number'), because with formating it doesn't change. I have searched the newsgroup archives at: codenewsfast.com and groups.google.com; but to no avail. I am not looking for the use of GetVolumeInformation for getting the 'hard disk serial number', because what this function actually gets is the volume serial number, not the manufacturer's hard disk serial number. The volume serial no. Is assigned and changed during the formatting of the partition. A proper/working code (in Delphi 5) will be highly appreciated. The code should work with Windows 95/98/Me/NT4/2000/XP/7 for both x32 and x64 bit platforms.


Many thanks in advance! Best regards, John. Download randy orton burn in my light mp3.
Home Delphi: Getting The Hard Drive Serial Number Comments. Every hard drive has a distinctive Volume Serial Number, with the chances of any two drives you encounter having the same serial number astronomically high. In this example, the serial number for drive C: is returned in the string variable TheSerial Number, converted to hexidecimal.
On Wed, 27 Jul 2011 04:58:47 -0700, John Warren wrote: >Hi, > >I want to get manufacturer's harddisk serial number (note: not' volume serial number'), because with formating it doesn't change. > >I have searched the newsgroup archives at: codenewsfast.com and groups.google.com; but to no avail. > >I am not looking for the use of GetVolumeInformation for getting the 'hard disk serial number', because what this function actually gets is the volume serial number, not the manufacturer's hard disk serial number. The volume serial no. Is assigned and changed during the formatting of the partition. > >A proper/working code (in Delphi 5) will be highly appreciated.
The code should work with Windows 95/98/Me/NT4/2000/XP/7 for both x32 and x64 bit platforms. Many thanks in advance! > >Best regards, >John Hi John, Quick Search on Google gets (among others) the following 2 sites of interest: 1)2)Hope that helps Smurf.