CString CGetCPUIDDlg::GetCPUID()
{
CString strCPUID;
unsigned long s1, s2;
__asm{
mov eax, 01h
xor edx, edx
cpuid
mov s1, edx
mov s2, eax
}
strCPUID.Format("%08X%08X", s1, s2);
return strCPUID;
}
VC++ 获取CPU序列号
最新推荐文章于 2023-08-15 14:36:09 发布