Click or drag to resize
ILicenseServiceCheckLicense Method
Checks the license based on feature and perform action based on given arguments

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
bool CheckLicense(
	FeatureEnum feature,
	string domain = null,
	bool throwError = true
)

Parameters

feature
Type: CMS.DataEngineFeatureEnum
Feature to check
domain (Optional)
Type: SystemString
Domain to check. If null, function tries to get domain from HttpContext
throwError (Optional)
Type: SystemBoolean
Indicates whether throw error after false check

Return Value

Type: Boolean
See Also