Jump to content
View in the app

A better way to browse. Learn more.

Pulseway

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
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.

Featured Replies

  • 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

  • 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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.