Click or drag to resize
LicenseHelper Class
LicenseHelper class.
Inheritance Hierarchy
SystemObject
  CMS.LicenseProviderLicenseHelper

Namespace: CMS.LicenseProvider
Assembly: CMS.LicenseProvider (in CMS.LicenseProvider.dll) Version: 9.0.0
Syntax
C#
public static class LicenseHelper

The LicenseHelper type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberLICENSE_LIMITATION_EVENTCODE
Event log messages about version limitations will have this event code.
Public fieldStatic memberLIMITATIONS_BASICWORKFLOW
Allows basic workflow(no custom steps) in product version.
Public fieldStatic memberLIMITATIONS_NOITEMS
No items(given feature) is allowed in product version.
Public fieldStatic memberLIMITATIONS_UNLIMITED
Number of items(given feature) is not limited in product version.
Top
Properties
  NameDescription
Public propertyStatic memberApplicationExpires
The time when the application expires.
Public propertyStatic memberCurrentEdition
Gets product edition for current domain.
Top
Methods
  NameDescription
Public methodStatic memberAddTrialLicenseKeys
Creates trial license keys.
Public methodStatic memberClear
Clears the hashtable with URL results.
Public methodStatic memberClearLicenseLimitation
Clear license limitations tables.
Public methodStatic memberGetAllAvailableKeys
Reports that the license limit was exceeded
Public methodStatic memberGetEditionName
Returns edition name.
Public methodStatic memberGetPackageName
Returns localized package name.
Public methodStatic memberGetSiteIDbyDomain
Returns site id by domains.
Public methodStatic memberGetValidationResultString
Converts license validation result to its string representation.
Public methodStatic memberCheckFeature
Returns true if the feature is available for current URL.
Public methodStatic memberCheckFeatureAndRedirect
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
Public methodStatic memberIsFeatureAvailableInUI(FeatureEnum)
Indicates if specified feature is available in UI.
Public methodStatic memberIsFeatureAvailableInUI(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.
Public methodStatic memberLicenseVersionCheck
License version checker.
Public methodStatic memberRequestFeature
Gets the license key for the URL and checks if the feature is supported for its product edition. If not, it throws and exception.
Public methodStatic memberRequestWebDAVFeature
Checks if the WebDAV feature is supported for current domain. If not, it throws and exception.
Public methodStatic memberValidateLicenseForDomain
Validates license for specified domain.
Top
See Also