Get the CPU speedTag(s): WinAPI/Registry
With NT (or better), the cpu speed is stored in the registry at
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 ~Mhz (dword)
ulong speed string cpuname RegistryGet( & "HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0", & "~~MHz", ReguLong!, speed) RegistryGet( & "HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0", & "ProcessorNameString", RegString!, cpuname) MessageBox(cpuname, string(speed) + "Mhz")
mail_outline
Send comment, question or suggestion to howto@rgagnon.com
Send comment, question or suggestion to howto@rgagnon.com