DemoConstraint..::..Validate Method
This verifies the license meets its desired validation criteria. This
includes the following if defined:
Verify the license is after the start dateVerify the license is before the end dataThe maximum number of days has not been exceeded
If any of these is exceeded then the license failure reason is set to
the reason for the failure and this function returns false. Otherwise
the license is valid and the method returns true.
Namespace:
CAS.Lib.CodeProtect.LicenseDsc.ConstraintsAssembly: CAS.CodeProtect (in CAS.CodeProtect.dll)
Syntax
Parameters
- typeToValidate
- Type: Type
Type to validate
- vc
- Type: Int32%
Volume constraint - max number of items. -1 no constrain.
- rtc
- Type: Int32%
Runtime in hours. –1 means no limits.