Table of Contents

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

Dictionary<string, string>

GetEnvironmentTypes()

public static ApplicationResponse<IEnumerable<EnvironmentType>> GetEnvironmentTypes()

Returns

ApplicationResponse<IEnumerable<EnvironmentType>>

GetLastWwwAccess(string)

public static DateTime GetLastWwwAccess(string installationChecksum)

Parameters

installationChecksum string

Returns

DateTime

GetLicense(string)

public static ApplicationResponse<License> GetLicense(string checksum)

Parameters

checksum string

Returns

ApplicationResponse<License>

GetLicense(string, string)

public static ApplicationResponse<License> GetLicense(string checksum, string trialId)

Parameters

checksum string
trialId string

Returns

ApplicationResponse<License>

GetSubscriptions(string)

public static ApplicationResponse<IEnumerable<Subscription>> GetSubscriptions(string customerNumber)

Parameters

customerNumber string

Returns

ApplicationResponse<IEnumerable<Subscription>>

GetTrialTypes()

public static ApplicationResponse<IEnumerable<License>> GetTrialTypes()

Returns

ApplicationResponse<IEnumerable<License>>

GetUrl()

public static string GetUrl()

Returns

string

IssueTrial(Installation, string)

public static bool IssueTrial(Installation installation, string trialId)

Parameters

installation Installation
trialId string

Returns

bool

LogOn(string, string)

public static ApplicationResponse<IEnumerable<Customer>> LogOn(string userName, string password)

Parameters

userName string
password string

Returns

ApplicationResponse<IEnumerable<Customer>>

RefreshLicense()

public static bool RefreshLicense()

Returns

bool

RefreshLicense(string, IDictionary<string, string>)

public static void RefreshLicense(string installationChecksum, IDictionary<string, string> installationProperties)

Parameters

installationChecksum string
installationProperties IDictionary<string, string>

RefreshLicense(string, string)

public static void RefreshLicense(string installationChecksum, string installationProperties)

Parameters

installationChecksum string
installationProperties string

RegisterInstallation(Installation)

public static bool RegisterInstallation(Installation installation)

Parameters

installation Installation

Returns

bool

ShouldLicenseBeUpdated()

public static bool ShouldLicenseBeUpdated()

Returns

bool
To top