CogLicense CheckEitherLicense Method Cognex VisionPro
Checks if either of the spcecified licensed features is valid and has not expired.

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

public static void CheckEitherLicense(
	CogLicenseConstants lic1,
	CogLicenseConstants lic2
)
Exceptions

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