API Reference

GetDashboardLicenseInfo

Description

Retrieves dashboard-type information related to the specified license key.

To use a proxy server, you must set the UseProxyServer, ProxyUser, ProxyDomain and ProxyPassword properties prior to calling this function.

 IDashboardLicenseInfo GetDashboardLicenseInfo (string webServiceUrl,
                                                string activationKey, 
                                                string computerKey,
                                                string computerID)

Parameters

ParameterTypeDescription
webServiceUrlstringURL to the QLM License Server
activationKeystringActivation Key
computerKeystringComputer Key
computerIDstringComputer ID

Return

TypeDescription
IDashboardLicenseInfoDashboard information

Example

QlmLicense license = new QlmLicense ();
license.DefineProduct(1, "Demo", 1, 0, "DemoKey", "{24EAA3C1-3DD7-40E0-AEA3-D20AA17A6005}");
IDashboardLicenseInfo di = license.GetDashboardLicenseInfo ("https://qlm3.net/qlmdemo/qlmLicenseServer/qlmservice.asmx", "AXXX", "UXXX", Environment.MachineName);
if (ret == true)
{
   MessageBox.Show ("Total Licenses: " + di.TotalLicenses);
}