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: 12.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 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 memberCheckLicenseLimitations
Checks that number of feature-related objects on current website does not exceed the license limitations.
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 memberGetSiteIDbyDomain
Returns site id by domains.
Public methodStatic memberGetValidationResultString
Converts license validation result to its string representation.
Public methodStatic memberIsFeatureAvailableInBestLicense
Indicates if specified feature is available based on whether equivalent module is loaded and specified feature is available in user's best license.
Public methodStatic memberIsFeatureAvailableInUI
Indicates if specified feature is available in UI based on whether equivalent module is loaded and specified feature is available in user's license.
Public methodStatic memberIsUnavailableUIHidden
Determines whether the user interface, which is unavailable due to the license, should be hidden from all sites.
Public methodStatic memberLicenseVersionCheck
License version checker.
Public methodStatic memberReportExceededFeatureLimit
Reports that feature limit is exceeded for domain license.
Public methodStatic memberReportFailedLicenseCheck
Reports failed license check for given feature.
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