LicenseHelper Class |
Namespace: CMS.LicenseProvider
public static class LicenseHelper
The LicenseHelper type exposes the following members.
Name | Description | |
---|---|---|
LICENSE_LIMITATION_EVENTCODE |
Event log messages about version limitations will have this event code.
| |
LIMITATIONS_BASICWORKFLOW |
Allows basic workflow(no custom steps) in product version.
| |
LIMITATIONS_NOITEMS |
No items(given feature) is allowed in product version.
| |
LIMITATIONS_UNLIMITED |
Number of items(given feature) is not limited in product version.
|
Name | Description | |
---|---|---|
ApplicationExpires |
The time when the application expires.
| |
CurrentEdition |
Gets product edition for current domain.
|
Name | Description | |
---|---|---|
AddTrialLicenseKeys |
Creates trial license keys.
| |
Clear |
Clears the hashtable with URL results.
| |
ClearLicenseLimitation |
Clear license limitations tables.
| |
GetAllAvailableKeys |
Reports that the license limit was exceeded
| |
GetEditionName |
Returns edition name.
| |
GetSiteIDbyDomain |
Returns site id by domains.
| |
GetValidationResultString |
Converts license validation result to its string representation.
| |
CheckFeature |
Returns true if the feature is available for current URL.
| |
CheckFeatureAndRedirect |
Gets the license key for the URL and checks if the feature is supported for its product edition.
If not, it redirects the user to ~/CMSMessages/FeatureNotAvailable.aspx
| |
IsFeatureAvailableInBestLicense |
Indicates if specified feature is available based on whether equivalent module is loaded and specified feature is available in user's best license.
| |
IsFeatureAvailableInUI |
Indicates if specified feature is available in UI based on whether equivalent module is loaded and specified feature is available in user's license.
| |
IsUnavailableUIHidden |
Determines whether the user interface, which is unavailable due to the license, should be hidden from all sites.
| |
LicenseVersionCheck |
License version checker.
| |
ReportFailedLicenseCheck |
Reports failed license check for given feature.
| |
RequestFeature |
Gets the license key for the URL and checks if the feature is supported for its product edition.
If not, it throws and exception.
| |
RequestWebDAVFeature |
Checks if the WebDAV feature is supported for current domain.
If not, it throws and exception.
| |
ValidateLicenseForDomain |
Validates license for specified domain.
|