Jump to content
Pulseway 9.14 šŸ”„

Featured Replies

Posted

Hi MMSOFT.

Is there an easy way for using SetValueForKey and GetValueForKey without encrypting the data.
Sometimes we want the plugin-data to be configured or manipulated directly via registry.

Quote

GetValueForKey()

GetValueForKey is used to get a previously stored value using "SetValueForKey". This takes the value from the Windows Registry, decrypts it and returns your value in clear text.

void SetValueForKey(string Key, string Value)

In order to save plugin's data we can implement our own methods or use "SetValueForKey" which creates a registry entry with the name specified in the "Key" parameter and our value safely encrypted.

If not, can anyone helpĀ providing a C# function that always will return the sameĀ registry key name as GetValueForKey/SetValueForKey uses?

Best Regards,
Martin.

Create an account or sign in to comment