Notifications
Clear all

[Closed] alternative to hardwarelockid?

Do anyone of you have a alternate way of getting some unique ID for a system in maxscript?
(.net maybe?)

hardwarelockid  is not safe enough.

found info here, but cannot run it..:

http://forums.cgsociety.org/archive/index.php/t-826813.html

after more digging i found this, which works:
http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/fe85812d-83b7-4e87-a36e-e3236a59918c

dotnet.loadAssembly @"System.Management.dll"
 mc = dotNetObject "System.Management.ManagementClass" "Win32_Processor"
 moc = dotNetClass "System.Management.ManagementObjectCollection"
 moc = mc.GetInstances()
 enumerator = moc.GetEnumerator()
 while enumerator.MoveNext() do
 (
 mo = enumerator.current
 append CPUID ( mo.Properties.Item["ProcessorId"].value )
 )
2 Replies

probably the mac address…
you can also fetch it with dotNet, there was a thread about it…

The CPU ID can be disabled in the bios on some systems, as far as I know.

how get hard id ?thanks