Retrieves information about an Activation Key.
C#: ILicenseInfo GetLicenseInfo (string webServiceUrl, string activationKey, bool historyTable, out string dataSet, out string response)
Parameters
webServiceUrl - URL to the QLM License Server.
activationKey - activation key of the customer
historyTable - search for the activation key in the history table
dataSet - data set returned by the server.
response - result of the call to the server.
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;
}
To parse the data returned in dataSet, check this article.
Comments
0 comments
Please sign in to leave a comment.