AndConstraint..::..Validate Method
This verifies the license meets its desired validation criteria. This test will
pass providing all contained constraints are valid. If any one of them is invalid then
the validate will fail and the license failure reason will be set to the first
constraint which failed while being validated.
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.