OrConstraint..::..Validate Method
This verifies the license meets its desired validation criteria. This test will
pass as long as one of the constraints contained within it's collection is valid.
If all of them are invalid, then the validate will fail and the license failure
reason will be set to the last 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.