Checks if either of the spcecified licensed features is valid and has not expired.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 79.0.0.0
Syntax
Parameters
- lic1
- Type: Cognex.VisionPro CogLicenseConstants
Specifies the licensed feature.
- lic2
- Type: Cognex.VisionPro CogLicenseConstants
Specifies the licensed feature.
Exceptions
| Exception | Condition |
|---|---|
| CogSecurityViolationException | If both security bits were not found or have expired.The message may also hold the internal error encounteredwhen reading the dongle. |
See Also