API Reference

WriteProductPropertiesFile

Writes product properties to a file

Description

Gets the product properties from the License Server, validates the signature, and then writes them to a file on disk. The QlmLicense.DefaultWebServiceUrl must be set before calling this function.

bool WriteProductPropertiesFile(string activationKey, string licenseFile, 
                                out string errorMessage)

Parameters

ParameterTypeDescription
activationKeystringactivation key to query.
licenseFilestringthe filename of the products properties file
errorMessagestringan error message if the operation fails.

Return

TypeDescription
booltrue if successful; otherwise false.