[Interest] Fail to fetch Windows MachineGuid using QSettings
Nuno Santos
nunosantos at imaginando.pt
Fri Dec 11 13:21:51 CET 2015
Hi,
I'm trying to fetch MachineGuid from Windows registry using QSettings
but the output is always an empty string.
QSettings
settings("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography",
QSettings::NativeFormat);
qDebug() << settings.value("MachineGuid").toString();
Is there any kind of access control that might be blocking this?
Should I use native Windows calls for this?
Thanks,
Nuno
More information about the Interest
mailing list