LicenseHelper Methods |
The LicenseHelper type exposes the following members.
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.
| |
GetPackageName |
Returns localized package 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
| |
IsFeatureAvailableInUI(FeatureEnum) |
Indicates if specified feature is available in UI.
| |
IsFeatureAvailableInUI(FeatureEnum, String) |
Indicates if specified feature is available in UI based on whether equivalent module is loaded and specified feature is available in user's licence.
| |
LicenseVersionCheck |
License version checker.
| |
ReportLicenseError |
Reports the invalid license, either by redirecting to given URL, or by throwing .
| |
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.
| |
ValidateLicenseForUrl |
Validates license for specified URL.
|