GetActivationLog

Description

Gets the list of systems that have been activated using the specific activation key.

Note that to call this function, you must:

  • Set the CommunicationEncryptionKey property
 void GetActivationLog(string webServiceUrl, 
                       string activationLKey, 
                       ref string dataSet, 
                       out string response) 

To parse the returned dataSet, check this article.

Parameters

ParameterTypeDescription
webServiceUrlstringURL to the QLM License Server
activationKeystringthe activation key to query
dataSetref stringreturned dataset containing license key records that match the activation key
responsestringXML fragment containing the result of the call. The Xml fragment schema is as follows:

Response XML format

<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<result>Successfully executed query using filter...</result>
</QuickLicenseManager>

Example error response

In the event of an error, the XML fragments returns:

<?xml version='1.0' encoding='UTF-8'?>
<QuickLicenseManager>
<error>Details about the error</error>
</QuickLicenseManager>

Remarks

Use ParseResults to interpret the results of the call and load the returned data into an ILicenseInfo object.

ILicenseInfo li = new LicenseInfo();
string message = string.Empty;
if (lv.QlmLicenseObject.ParseResults(response, ref li, ref message))
{
  // The operation  was successful  
}
else
{
  // The operation failed
}