Re: retrieve computer serial number

[ DelphiLand FAQ ]

Posted by webmaster Guido on March 25, 2004 at 16:12:28:

In Reply to: retrieve computer serial number posted by 22160 Stefan Loeners on March 24, 2004 at 09:37:58:

: What function would return the computer serial number, please. In Dell machines, this is referred to as the service tag.

You can't retrieve the serial number of most CPU's (only a few Intel P3's were released with this feature).

However, for unique identification of a computer, you can combine other info into a SN, like:

- the motherboard serial number
- the volume serial number of the system disk (harddisk volume that contains the operating system, the "C:" drive in most Windows systems)
- several parameters of the CPU, like speed, model, and so on...

Vendors use their own algorithm to make up their computers' SN, so that would be different for most brands (Dell, HP, IBM,...)

You would have to research if any vendors make their SN algorithm publicly available. Readers of our forum: there's a challenge! ;-)

Related Articles and Replies:

[ DelphiLand: free Delphi source code, tips, tutorials ]