DeactivateModule
Command to make an online deactivation of a module and upload a license file. It will always connect to the Activation Server, upload the license file (if specified), lock the license on the server and lock the license in the local license file.
Name |
DeactivateModule |
||||||||||||||||||||||||||||
Purpose |
Contacts the Licence Protector Web Activation server 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.Module(‘’, ‘QHD001’, ‘yuGEI-5EPc3-9E7Il-3tI8X-7QU5k-6h14R’,true, true,'default','this is like a password string'); if iRes = 0 then begin << license successfully validated >> ... end else if iRes = 3001 then begin << Activation Server could not be reached, please check connection >> ... end else if iRes = 3010 then begin << that license is already in usage. First transfer the license from the other PC to use it on this PC >> ... end else if iRes = 3018 then begin << that license is locked on the Activation Server.>> ... end else begin << other errors >>> ...
|
||||||||||||||||||||||||||||
See also |
licenseVerification, NextVerification, Deactivatelicense, SetVerificationID, SetVerificationProduct, WebServiceURL, ShowWAStartPage, ShowWAProgressPage, ShowWAResultPage, UseLocalProxy, UseLocalIEProxy, LocalProxyServer, LocalProxyPort, Projectname |