API Reference

GetLicenseInfo

Description

Retrieves information about an Activation Key.

  ILicenseInfo GetLicenseInfo (string webServiceUrl, 
                               string activationKey, 
                               bool historyTable, 
                               out string dataSet, 
                               out string response)

Parameters

ParameterTypeDescription
webServiceUrlstringURL to the QLM License Server
activationKeystringthe license key to activate
historyTableboolsearch for the activation key in the history table
dataSetout stringdata set returned by the server
responseout stringresult of the call to the server.

Return

TypeDescription
ILicenseInfoinformation about the license

Remarks

To parse the data returned in dataSet, check this article.

C# Example

ILicenseInfo li = license.GetLicenseInfo (webServiceUrl, "A2GM0-50K00-PYU3F-784HH-1U1V5T", 
                                           false, out dataSet out response);
if (li != null)
{
    int numLicenses = li.NumLicenses;
    int availableLicenses = li.AvailableLicenses;
}