Am I trying to get a unique processor identifier?
Similarly (BFEBFBFF000406E3). I get this identifier using Get Cpu Id 2014 software.
int main() { BYTE szCpu[16] = { 0 }; UINT uCpuID = 0U; _asm { mov eax, 0 cpuid mov dword ptr szCpu[0], ebx mov dword ptr szCpu[4], edx mov dword ptr szCpu[8], ecx mov eax, 1 cpuid mov uCpuID, edx } cout << szCpu << endl; return 0; }
This code gives me the output of GenuineIntel. Any help?
source share