|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 GenerateCPUID|
|See also: CPU_Signature, CPU_BrandID, CPU_FeatureSet, CPU_MarketName, CPU_SerialNumber, CPU_VendorString, CheckGeneratedCPUID|
The function GenerateCPUID calculates a 48-bit digital signature from the CPU information. 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.