Feedback on: Licence Protector - DownloadLicfr-DownloadLicFunction Reference and Error Codes > Commands in Alphabetical Order > DownloadLic /Dear Support Staff,
DownloadLic
This command allows you to download a complete license file (including all hidden information) from the Activation Server. It can be uploaded with the command UploadLic.
This command requires a license file which was opened using one of the Prepare commands.
Name
DownloadLic
Purpose
Downloads the license file from to the Activation Server. A unique ID is necessary to store the license file on the Activation Server. If the ID already exists, the data is overwritten.
Params
Parameter
Type
Example
Note
Projectname
String
demo-easygo
Project name configured in the project.config file on the Activation Server. If empty the internal project name of the license file is used
ModuleID
String
QHD001
module ID - If ModuleID is empty a CheckLicence call is used to locate the
Activation
ID
String
IV0078
unique ID to store the license file. Could be a customer ID or a Serial number
Name
String
default
name to identify the license file. One ID can store multiple files using different names like
ensures, that a file can only be downloaded when a password is provided. The password has to be set with the command UploadLic. Should be maximum 40 characters.
DownloadFull
Boolean
true
If true, the complete license file is downloaded. Otherwise only the
changes made on the Activation Server are downloaded and updated in the local license file
Returncode
Returncode
Type Integer
Note
0
license file successfully downloaded
3001
The Activation Server was not reachable.
3014
Most likely wrong encryption code or the length of the encryption code exceeds 40 characters or problem with the time difference between client and Activation Server
3015
Key / ID does not exist. An ID was used where no license file is assigned on the Activation Server . The ID must match the ID used with UploadLic
3040
Name of the license file in combination with the used ID does not exist or the length of the encryption code exceeds 40 characters
3002-3999
Errors on the Activation Server, see Activation Server error codes
Used to download a complete license file or only modifications. The license file can be edited on the Activation Server and the file has first to be uploaded using the command UploadLic.