Is there a way to write some data to an RHP file after it is built? Here’s what I’m trying to do: I send customers an rhp file, they call a command that lets them put in a license key to active so they can use all functionality. This is fine, but then they have to do it again when the start a new session. One workaround is to simply use a separate license file. But it would be more convenient if they could just enter the license key and it gets written to their rhp file on their computer. How might this be done?
That works, thanks! Do you know if it is ever an issue to have my plugin do this on someone elses computer? Like are there sometimes settings that block writing to the registry?
If you are worried of permissions you can store a license file in %appdata% once the user adds his license.
The plugin would then try to retrieve the license file from appdata or if it doesnt find the license file ask the user for his license
Plug-ins and Commands have a property called Settings which lets you store and retrieve persistent settings. You could use this to store any data you want for your plugin.