Returns the state of a licensed feature.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
Parameters
- lic
- Type: Cognex.VisionPro CogLicenseConstants
Specifies the licensed feature.
Return Value
Type: CogLicenseResultConstantsThe state of the license one of the following states: Valid, Expired, NotFound.
Exceptions
| Exception | Condition |
|---|---|
| [T:Cognex::VisionPro::Exceptions::CogSecurityViolationException] | If the licensed features could not be read due to an internal error. The message will indicate the internal error encountered. |
See Also