CogLicense CheckLicense Method (CogLicenseConstants)Cognex VisionPro 9.22
Checks if the licensed feature specified is valid and has not expired.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax

public static void CheckLicense(
	CogLicenseConstants lic
)
Exceptions

ExceptionCondition
CogSecurityViolationExceptionIf the security bit was not found or has expired. The message may also hold the internal error encountered when reading the dongle.
See Also