Command no longer in use
Replaced with CheckModule
Allows to validate, if a license was locked or not. Details see chapter Lock a license / Regular online check.
Normally the test is done without a value for the parameter moduleID. Using a module ID creates the same workflow on the Activation Server 6 like a product activation with PrepareAndCheck or WebRegisterExt - e.g. copy protection is activated or additional keys like deleting Demo Version flag are sent.
Name |
CheckLicence |
||||||||||||||||||||
Purpose |
Contacts the Activation Server 6 to validate a license. This function has to be used to implement “Moving licenses” and ongoing checks (“renting your software”). |
||||||||||||||||||||
Params |
|
||||||||||||||||||||
Returncode |
|
||||||||||||||||||||
Usage |
Used to validate the license. |
||||||||||||||||||||
Sample |
iRes := lic.CheckLicence(‘’, ‘abc4711’, ‘’, false); if iRes = 0 then begin << license successfully validated >> ... end else if iRes = 3001 then begin << Web Activation could not be reached, please check connection >> ... end else if iRes = 3010 then begin << that license is already in usage. Transfer license and then it is free for this computer >> ... end else if iRes = 3018 then begin << that license is locked on the Web Activation server.>> ... end else begin << other errors >>> ...
|
||||||||||||||||||||
See also |
licenseVerification, NextVerification, Deactivatelicense, SetVerificationID, SetVerificationProduct, WebServiceURL, ShowWAStartPage, ShowWAProgressPage, ShowWAResultPage, UseLocalProxy, UseLocalIEProxy, LocalProxyServer, LocalProxyPort, Projectname |
The CheckLicence command would display screens indicating that an online validation is done. The screens can be suppressed using ShowWAStartPage, ShowWAProgressPage and ShowWAResultPage
The CheckLicence command triggers the activation workflow file on the server, e.g. activates copy protection and sends out the keys defined in this file.