GetLicenseInfo

Description

Retrieves information about an Activation Key.

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

Parameters

Parameter
Type
Description

webServiceUrl

string

URL to the QLM License Server

activationKey

string

the license key to activate

historyTable

bool

search for the activation key in the history table

dataSet

out string

data set returned by the server

response

out string

result of the call to the server.

Return

Type
Description

information 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;
}

Last updated