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

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
}

Last updated