Forum > Packages and Libraries
OnGuard: CreateMachineID generates different values on the same hardware
lainz:
We don't know how to debug this, but we're getting users with same OS and same hardware getting different values of MachineID, under Windows. Exactly the same PC and different values.
What can be the reason? Different windows update version? Different wifi mac address? Different USB port changed for mouse and keyboard?
Is getting trouble to determine by unique machine id a single machine.
MarkMLl:
When you say "same PC", do you mean literally "the same machine" (i.e. different results each time you ask) or that you're looking at computers with the same nominal specification (i.e. different results for each computer)?
Not my area of expertise by any means, but I think it's worth pinning that down before going any further.
MarkMLl
af0815:
Imho was one of the maintainer graeme on https://github.com/graemeg/onguard/
Some Info here: https://forum.lazarus.freepascal.org/index.php/topic,23495.msg140693.html#msg140693
hrayon:
It's a feature, right?
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---...var InfoSet : TEsMachineInfoSet; MachineID : Longint;...Begin InfoSet := []; //Use 1 to 3. Combinations are allowed. InfoSet := InfoSet + [midSystem]; //use bios data InfoSet := InfoSet + [midNetwork]; //use network card data InfoSet := InfoSet + [midDrives]; //use HDs data MachineID := CreateMachineID(InfoSet); try MachineID := CreateMachineID(InfoSet); ...
Thaddy:
Yes, it is a feature, the same hardware and the same OS but on different physical machines render different values.
Navigation
[0] Message Index
[#] Next page