CogEthernetPort PropertiesCognex VisionPro 9.7

The CogEthernetPort type exposes the following members.

Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
(Inherited from CogChangedEventBase.)
Public propertyIndex
Gets the index of the physical Ethernet port.
Public propertyIsInterfaceUp
Gets the state of the Ethernet port interface. An interface is "UP" if it has been successfully configured with an IP address, sub-net mask, etc...
Public propertyIsLinkUp
Gets the state of the Ethernet port link. A link is "up" if the Ethernet port is electrically connected.
Public propertyMacAddress
Gets the MAC address of the Ethernet port.
Public propertyStateFlags
Returns the complete set of state flags supported on this object. The flags may be indexed by name as shown in the following C# code snippet: if (changedObject.StateFlags["Color"] & eventArgs.StateFlags) { ... }
(Inherited from CogChangedEventBase.)
Top
See Also