Posted July 11, 20168 yr 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.
July 12, 20168 yr Administrators Hi Martin, It's not possible to store it in clear text I'm afraid. Check out this article on how to read and write registry values. -Paul
July 14, 20168 yr Author Thanks. I have now worked around it. :-) Consider it a feature-request. It should be easy to implement a optional boolean parameter. Bye, Martin
Create an account or sign in to comment