Class LicenseServiceManager
- Namespace
- Dynamicweb.Security.Licensing
- Assembly
- Dynamicweb.Security.dll
This class exposes the functionality from the internal LicenseServiceManager as a static object
public class LicenseServiceManager
- Inheritance
-
LicenseServiceManager
- Inherited Members
Methods
ConvertSolutionXmlToDictionary(string)
public static Dictionary<string, string> ConvertSolutionXmlToDictionary(string installationXml)
Parameters
installationXml
string
Returns
GetEnvironmentTypes()
public static IEnumerable<EnvironmentType> GetEnvironmentTypes()
Returns
GetLastWwwAccess(string)
public static DateTime GetLastWwwAccess(string installationChecksum)
Parameters
installationChecksum
string
Returns
GetLicense(string)
public static License GetLicense(string checksum)
Parameters
checksum
string
Returns
GetLicense(string, string)
public static License GetLicense(string checksum, string trialId)
Parameters
Returns
GetSubscriptions(string)
public static IEnumerable<Subscription> GetSubscriptions(string customerNumber)
Parameters
customerNumber
string
Returns
GetTrialTypes()
public static IEnumerable<License> GetTrialTypes()
Returns
IssueTrial(Installation, string)
public static bool IssueTrial(Installation installation, string trialId)
Parameters
installation
InstallationtrialId
string
Returns
LogOn(string, string)
public static IEnumerable<Customer> LogOn(string userName, string password)
Parameters
Returns
RefreshLicense()
public static bool RefreshLicense()
Returns
RegisterInstallation(Installation)
public static void RegisterInstallation(Installation installation)
Parameters
installation
Installation