Guid
-
How to know MachineGuid?
-
For windows OS you can read from registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid
but i think that GUID not unique as expected -
not accessable
-
Maybe you want to generate one and write it to your config file to use it from then on out?
-
No, I want to read HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid
-
Then why ask on a Qt forum? :)
You can use the microsoft APIs for that, I imagine.
-
Nope, QSettings can read from there just fine.
-
Thanks, I have already try QSettings and I easily read all other key in registry but in case of MachineGuid its return null.