win32.getRegistry()

Moderator: admin

win32.getRegistry()

Postby imxuf92 » Thu Mar 08, 2018 2:19 am

I'm trying to read a value from the registry, specifically the "MachineGuid" value for the purpose of locking the indicator to a user's machine.

The code I'm using is as follows:

Code: Select all

 local value = win32.getRegistry("HKLM SOFTWARE\\Microsoft\\Cryptography", "MachineGuid");



but "value" always returns 'nil'. I have confirmed the value exists via RegEdit.

Can someone confirm that this function still works? Has anyone tried it on Windows 10?
Perhaps there is a permissions issue?
imxuf92
 
Posts: 24
Joined: Sat Jan 23, 2016 6:55 pm

Re: win32.getRegistry()

Postby Apprentice » Sun Mar 11, 2018 6:10 am

Forwarded to the development team.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 19220
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 3 guests