CogLicense CheckEitherLicense Method Cognex VisionPro 9.25 SR1
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: 93.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 encountered when reading the dongle.
See Also