CAS.Lib.CodeProtect Namespace
CAS.Lib.CodeProtect.LicenseDsc Namespace
CAS.Lib.CodeProtect.LicenseDsc.Constraints Namespace
CAS.Lib.CodeProtect.Properties Namespace
OOI CodeProtect

IConstraint..::..Validate Method

Defines the validation method of this Constraint. This is the method the Constraint uses to accept or reject a license request.

Namespace:  CAS.Lib.CodeProtect.LicenseDsc
Assembly:  CAS.CodeProtect (in CAS.CodeProtect.dll)

Syntax


bool Validate(
	Type typeToValidate,
	ref int vc,
	ref int rtc
)
Function Validate ( _
	typeToValidate As Type, _
	ByRef vc As Integer, _
	ByRef rtc As Integer _
) As Boolean
bool^ Validate(
	Type^ typeToValidate, 
	int^% vc, 
	int^% rtc
)

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.