If someone can code in assembler, the following information might be useful.
There is a special instruction to get CPU identification : CPUID instruction.
Call CPUID (opcode 0F A2, no MOD/RM), EAX=1.
The bits 3:0 of the EAX register are the stepping ID,
bits 7:4- model id, bits 11:8- family ID.
The following is valid for Intel CPUs, beginning with the late 486s/Pentiums.
Hope it helps.
Greg Pribush, iMPG.
Not speaking for Intel