LicenseHelper MembersKentico 8.1 API Reference
The LicenseHelper type exposes the following members.
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 memberReportLicenseError
Reports the invalid license, either by redirecting to given URL, or by throwing .
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.
Public methodStatic memberValidateLicenseForUrl
Validates license for specified URL.
Back to Top
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.
Back to Top
Properties

  NameDescription
Public propertyStatic memberApplicationExpires
The time when the application expires.
Public propertyStatic memberCurrentEdition
Gets product edition for current domain.
Back to Top
See Also