Get MachineUUID
-
Is there a cross platform function (or at last for Linux and Windows(mingw)) to get Machine UUID?
Thanks -
There' some standard Windows class for this called Win32_BaseBoard and I assume there should be something similar (maybe not) in linux too.
Note 1: Tag property of this class has the following description:
"Unique identifier of the baseboard of the system."Note 2: Look here for more info:
http://msdn.microsoft.com/en-us/library/aa394072.aspxNote 3: No cross-platform methods as far as I know.
Hope this helps
-
Ok byt mingw does not support wmi.
-
[quote author="mrdebug" date="1383053787"]Ok byt mingw does not support wmi.[/quote]
I don't use mingw much but I'm not sure if this is correct. At least I'm sure that mingw works with many parts of WMI.
Check this out:
http://stackoverflow.com/questions/9996935/how-to-call-wmi-using-mingw