CogLicense CheckLicense Method (CogLicenseConstants)Cognex VisionPro 9.20
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: 80.0.0.0
Syntax

public static void CheckLicense(
	CogLicenseConstants lic
)
Exceptions

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