Table of Contents

Class LicenseManager

Namespace
Dynamicweb.Security.Licensing
Assembly
Dynamicweb.Core.dll

This class performs actions on the current license

public class LicenseManager
Inheritance
LicenseManager
Inherited Members

Properties

FileLocation

public static string FileLocation { get; }

Property Value

string

IsAzureWebApp

public static bool IsAzureWebApp { get; }

Property Value

bool

License

Retrives the license either from the cache or from the disk

public static License License { get; }

Property Value

License

LicenseChecksum

public static string LicenseChecksum { get; }

Property Value

string

Methods

CheckLicense()

public static bool CheckLicense()

Returns

bool

GetSolutionReport()

public static IDictionary<string, string> GetSolutionReport()

Returns

IDictionary<string, string>

Initialize()

public static void Initialize()

LicenseHasFeature(string)

Checks if the current license has the specified feature

public static bool LicenseHasFeature(string featureName)

Parameters

featureName string

The name of the feature, we want to check if the license contains

Returns

bool
To top