API Reference

DownloadLicenseFileFromServer

Description

Downloads a license file from the license server and stores it on the end user system.

 bool DownloadLicenseFileFromServer(string webServiceUrl, 
                                    string activationKey, 
                                    string computerID, 
                                    out string errorMessage)                                    


Parameters

ParameterTypeDescription
webServiceUrlstringURL to the QLM License Server
activationKeystringthe activation key
computerIDstringUnique identifier of the computer being activated.
errorMessagestringerror message

Return

TypeDescription
booltrue if the download and save operation were successful

Remarks

You must call DefineProduct before calling this function.

If the QlmLicense.LicenseFilePath property is set, the License File is stored on the end user system in the location specified by LicenseFilePath.

If the LicenseFilePath is not set, the license file is stored in the location specified by the QlmLicense.StoreKeysLocation property.