Prepare
Name |
Prepare |
||||||||||||
Purpose |
Prepares the Licence Protector instance for usage and opens the license file |
||||||||||||
Params |
|
||||||||||||
Returncode |
|
||||||||||||
Usage |
Important function in order to use Licence Protector. Dependant of property SecurityLevel Prepare acts as PrepareSimple for Security Level BASIC (=0, default) or PrepareAdvanced for Security Level ADVANCED (=1). |
||||||||||||
Sample |
lic.SecurityLevel := 0; // the following Prepare acts as PrepareSimple and needs a PSK // at 1, Prepare would act as PrepareAdvanced and needs a ReadKey iRes := lic.Prepare(sMyLicfile, ‘I am a project secure key’); if iRes <> 0 then begin << an error occurred >> ... end else begin << everything is fine, continue >> ... |
||||||||||||
See also |
PrepareAdvanced, PrepareSimple, SysdateChanged, CheckSysdateChanged, Validate, Quit, PrepareForce |
You have to set the SecurityLevel before you can use this command