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

LicenseFile..::..ValidateLicense Method

Validate this license against the defined IConstraints in the Constraints List (System.Collections.Generic.List).

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

Syntax


public bool ValidateLicense(
	Type typeToValidate
)
Public Function ValidateLicense ( _
	typeToValidate As Type _
) As Boolean
public:
bool^ ValidateLicense(
	Type^ typeToValidate
)

Parameters

typeToValidate
Type: Type
Validates this LicenseFile for Type provided by the typeToValidate.

Return Value

True if the license is valid; Otherwise False.