Saving/Stored Data inside vst (Serial System)
Posted: Sun Jan 06, 2013 11:58 pm
Hey guys, I'm hitting a stone wall here, bashing my brain.
My question is can I save or store data inside my plugin ?
So I have a plugin and when i press a button it creates a serial number. It obviously goes to a string component inside.
I then link that string to a label module. So I can see it on the GUI. Next time I load the plugin, will it have the number?
I haven't tested this yet so I have no idea.
As you can see I'm looking to implement a serial number system for my plug and it must "know" what key to look for.
When I create the serial in the plug it also creates the unlocking key, so when I send the key to the user and he loads it, it must equal the one when he generated the serial. (This is done inside the plugin)
I can see to get around this by saving an encrypted "unlock key" generated when serial is created. And then save the "unlocking key" I give to the user.
Then every time the plug loads it decrypts those 2 files and checks them.
Anyone done this before or have any ideas??
Much appreciated!
My question is can I save or store data inside my plugin ?
So I have a plugin and when i press a button it creates a serial number. It obviously goes to a string component inside.
I then link that string to a label module. So I can see it on the GUI. Next time I load the plugin, will it have the number?
I haven't tested this yet so I have no idea.
As you can see I'm looking to implement a serial number system for my plug and it must "know" what key to look for.
When I create the serial in the plug it also creates the unlocking key, so when I send the key to the user and he loads it, it must equal the one when he generated the serial. (This is done inside the plugin)
I can see to get around this by saving an encrypted "unlock key" generated when serial is created. And then save the "unlocking key" I give to the user.
Then every time the plug loads it decrypts those 2 files and checks them.
Anyone done this before or have any ideas??
Much appreciated!