‘cpuvalue’ is not a pre-defined global variable… Are you using any script that creates it?
I am using the following hescript to create cpuvalue.
procedure cpuidvalue;
var
S2: String;
begin
S2 := GetManualHardwareID(2)
SetGlobalVar(“cpuvalue”, S2, False);
end;
Please answer for both my questions:
is there any HESCRIPT which gives the actual cpu id. If not, whether cpuid created by htmlexe changes if computer gets formatted.
The GetManualHardwareID(2) functions returns a value based on the CPU ID. It doesn’t change when your computer disk is formatted. So you’re safe to use cpuidvalue;
HI,
This function
window.external.GetGlobalVariable(‘cpuvalue’, ‘none’);
gives value like:
B668ED322C6878F683A9DF2F0BDDBBEB
where as the actual cpu id which is received through javascript, is:
BFEBFBFF000206A7
is there any HESCRIPT which gives the actual cpu id. If not, whether cpuid created by htmlexe changes if computer gets formatted.
Please see the above posts. Please tell
Is there any HESCRIPT which gives the actual cpu id like what is generated by Javascript, and if not then whats the way out.
No, there is no HEScript function for this.