ILicenseServiceCheckLicense Method |
Checks the license based on feature and perform action based on given arguments
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax 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:
BooleanSee Also