CogEthernetPortSettings PropertiesCognex VisionPro

The CogEthernetPortSettings 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 propertyDefaultGateway
Gets or sets the default gateway of the Ethernet port.

Attempts to set this property are ignored when DHCPEnable is true.

Public propertyDHCPEnable
Gets or sets whether DHCP is enabled for the Ethernet port.
Public propertyDomainName
Gets or sets the domain name.
Public propertyHostName
Gets or sets the host name.
Public propertyIPAddress
Gets or sets the IP address of the Ethernet port.

Attempts to set this property are ignored when DHCPEnable is true.

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.)
Public propertySubnetMask
Gets or sets the subnet mask of the Ethernet port.

Attempts to set this property are ignored when DHCPEnable is true.

Top
See Also