Page 1 of 1

Feature request:registration data storage

Posted: Tue Aug 02, 2011 9:47 pm
by aargh
How to save the registration data to a crypto device such as SmartDongle.
It is possible to extend the application to program your own store registration data?

thx Aargh

Re: Feature request:registration data storage

Posted: Wed Aug 03, 2011 6:47 am
by Enigma
Hi Aargh,

Yes, it is possible, everything is already made in Enigma Protector.

For manual storing of license information you have to use Enigma plugins system, there are callbacks of Key Load and Key Save routines:

Code: Select all

function Enigma_Plugin_OnSaveKey(ARegName : pointer; ARegNameLen : integer; ARegKey : pointer; ARegKeyLen : integer) : boolean; stdcall;
function Enigma_Plugin_OnLoadKey(var ARegName : pointer; var ARegNameLen : integer; var ARegKey : pointer; var ARegKeyLen : integer) : boolean; stdcall;
Plugins SDK is available for Delphi, Free Pascal, C++, so you should not have problems with it.
Just create a plugin, handle these events, and store information anywhere you want!

Re: Feature request:registration data storage

Posted: Wed Aug 03, 2011 8:43 am
by aargh
Enigma wrote:Hi Aargh,

Yes, it is possible, everything is already made in Enigma Protector.

For manual storing of license information you have to use Enigma plugins system, there are callbacks of Key Load and Key Save routines:

Code: Select all

function Enigma_Plugin_OnSaveKey(ARegName : pointer; ARegNameLen : integer; ARegKey : pointer; ARegKeyLen : integer) : boolean; stdcall;
function Enigma_Plugin_OnLoadKey(var ARegName : pointer; var ARegNameLen : integer; var ARegKey : pointer; var ARegKeyLen : integer) : boolean; stdcall;
Plugins SDK is available for Delphi, Free Pascal, C++, so you should not have problems with it.
Just create a plugin, handle these events, and store information anywhere you want!
Hi Enigma

Thank you for the kick in the right direction ;-)

Aargh

Re: Feature request:registration data storage

Posted: Wed Aug 03, 2011 2:21 pm
by Enigma
ok Aargh, glad to help, let me know if you will have any questions :)