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

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to