API Reference

GetActivatedSystems

Description

Gets information about all the activations of a specific activation key

 ILicenseInfo[] GetActivatedSystems(string webServiceUrl, 
                                    string activationKey, 
                                    out string message)


Parameters

ParameterTypeDescription
webServiceUrlstringURL to the QLM License Server
activationKeystringActivation Key
messagestringError message

Return

TypeDescription
ILicenseInfo[]Array of ILicenseInfo objects containing information about each activated license

Example

private void GetActivatedSystems ()
{
	string message;
	ILicenseInfo[] activatedSystems = lv.QlmLicenseObject.GetActivatedSystems(string.Empty, lv.ActivationKey, out message);

	if (activatedSystems!= null)
	{
  	foreach (ILicenseInfo ai in activatedSystems)
    {
    	Console.WriteLine(String.Format("License {0} is activated on {1} with ComputerKey {2}", ai.ActivationKey, ai.ComputerID, ai.ComputerKey));
    }
	}
}