WriteInstallID
Description
Writes the installID into a QLM cookie on the end user system. To read keys, use the ReadInstallID API.
Note that to call this function, you must initialize the QlmAnalytics object with the following properties:
WebServiceUrl
CommunicationEncryptionKey
GUID (persistence key)
Parameters
installID
string
unique identifier of this installation, returned by a call to AddInstall
errorMessage
string
returned error message containing details about the failure, if any.
Return
Boolean
true if the operation was successful; otherwise, false.
Example
This example publishes Analytics to the License Server. The QlmAnalytics object is first initialized using a QlmLicense object. We then check if there's an InstallID already registered on the system. If no InstallID is found, we add this computer as a new installation. Otherwise, we simply update the data of the existing installation.
Last updated