CogLicense CheckForExpiredDongle Method Cognex VisionPro
Checks if all bits have expired.

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

public static bool CheckForExpiredDongle(
	bool throwOnInternalError
)

Return Value

Type: Boolean
True if all licensed feature have expired, otherwise false.
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