Class LicenseServiceManager
- Namespace
- Dynamicweb.Security.Licensing
- Assembly
- Dynamicweb.Core.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 ApplicationResponse<IEnumerable<EnvironmentType>> GetEnvironmentTypes()
Returns
GetLastWwwAccess(string)
public static DateTime GetLastWwwAccess(string installationChecksum)
Parameters
installationChecksum
string
Returns
GetLicense(string)
public static ApplicationResponse<License> GetLicense(string checksum)
Parameters
checksum
string
Returns
GetLicense(string, string)
public static ApplicationResponse<License> GetLicense(string checksum, string trialId)
Parameters
Returns
GetSubscriptions(string)
public static ApplicationResponse<IEnumerable<Subscription>> GetSubscriptions(string customerNumber)
Parameters
customerNumber
string
Returns
GetTrialTypes()
public static ApplicationResponse<IEnumerable<License>> GetTrialTypes()
Returns
GetUrl()
public static string GetUrl()
Returns
IssueTrial(Installation, string)
public static bool IssueTrial(Installation installation, string trialId)
Parameters
installation
InstallationtrialId
string
Returns
LogOn(string, string)
public static ApplicationResponse<IEnumerable<Customer>> LogOn(string userName, string password)
Parameters
Returns
RefreshLicense()
public static bool RefreshLicense()
Returns
RefreshLicense(string, IDictionary<string, string>)
public static void RefreshLicense(string installationChecksum, IDictionary<string, string> installationProperties)
Parameters
installationChecksum
stringinstallationProperties
IDictionary<string, string>
RefreshLicense(string, string)
public static void RefreshLicense(string installationChecksum, string installationProperties)
Parameters
RegisterInstallation(Installation)
public static bool RegisterInstallation(Installation installation)
Parameters
installation
Installation
Returns
ShouldLicenseBeUpdated()
public static bool ShouldLicenseBeUpdated()