The LicenseHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
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.
|
Fields
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.
|
Properties
Name | Description | |
---|---|---|
ApplicationExpires |
The time when the application expires.
| |
CurrentEdition |
Gets product edition for current domain.
|
See Also