|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home BasePack CPUID Procedures and Functions GenerateCPUIDEx|
|See also: CheckGeneratedCPUID, GenerateCPUID|
The function GenerateCPUID calculates a 48-bit digital signature from the CPU information and from the MAC address of the network adapter. The generated code is returned in form of a string of 16 hexadecimal digits which are grouped into four groups separated by a dash. The first three 4-digit groups represent the 48-bit signature, the last group is a CRC check code.
The check code is calculated by applying the function CRC32OfBuffer to the 48-bit signature (as a 12-digit hexadecimal string). The bits 0 to 15 of the resulting CRC code are then appended as a 4-digit hexadecimal string.