|
||
This function allows to store / apply an Activation Key in the license file in case that the License Viewer is not used.
Invoking this command without the parameter Activation Key will pop-up a dialog to type in a key. If you want to use your own dialog just provide as parameter the Activation Key.
Name |
ApplyActivationKey |
||||||||||
Purpose |
Insert an Activation Key to change the properties of a module or to change the Copy Protection. Former ReadActivationKey |
||||||||||
Params |
|
||||||||||
Returncode |
|
||||||||||
Usage |
Add a received Activation Key to the license file or open a dialog to let the user enter a needed key. Note: Only those keys with appropriate installation codes could be applied. |
||||||||||
Sample |
iRes := lic.ApplyActivationKey(sTheNewKey); if iRes <> 0 then begin << an error occurred >> ... end else begin << everything is fine, continue >> ... |
||||||||||
See also |
See also
Format of a Key
Create Keys