This command allows you to upload a complete license file (including all hidden information) to the Activation Server 6. It can be downloaded with the command DownloadLic.
This command requires a license file which was opened using one of the Prepare commands. A good idea is to upload a license file directly after an activation was done (see GetActionsOfLastPrepareAndCheck).
Name |
UploadLic |
||||||||||||||||||||||||||||
Purpose |
Uploads the license file up to the Activation Server 6. To identify the license, a unique ID is necessary .
|
||||||||||||||||||||||||||||
Params |
|
||||||||||||||||||||||||||||
Returncode |
|
||||||||||||||||||||||||||||
Usage |
Used to upload a complete license to the Activation Server 6. It can be edited on the Activation Server 6 and changes could be downloaded using the call DownloadLic. |
||||||||||||||||||||||||||||
Sample |
iRes := lic.UploadLic(‘’, ‘QHD001’, ‘IV0078’, ‘Default’, ‘mypassword76R§’,‘false‘);
if iRes = 0 then begin << Licence successfully uploaded for editing on the Activation Server 6 >> ... end else if iRes = 3001 then begin << Activation Server 6 could not be reached, please check connection >> ... end else begin << other errors >>> ...
|
||||||||||||||||||||||||||||
See also |
The following values in the project.config file on the Activation Server 6 are important for the license file upload:
•LvsDefaultName
•LvsOverwriteServerChanges
•MultipleLVS
The date of the last successful file upload is displayed in the License Viewer