Click or drag to resize

Port Class

A public class (Ethernet) Port for Crestron Simpl# Pro.
Inheritance Hierarchy
SystemObject
  Crestron.SimplSharpPro.EthernetCommunicationPort
    Crestron.SimplSharpPro.EthernetCommunicationPoePort

Namespace: Crestron.SimplSharpPro.EthernetCommunication
Assembly: Crestron.SimplSharpPro.EthernetCommunications (in Crestron.SimplSharpPro.EthernetCommunications.dll) Version: 2.21.121
Syntax
C#
public class Port

The Port type exposes the following members.

Properties
 NameDescription
Public propertyAutoNegotiationFeedback Reports a port auto negotiation setting. An Ethernet port auto negotiation is on when it is true and the auto negotiation is off when it is false.
Public propertyEnableFeedback Reports if a port is enabled. An Ethernet port is enabled when it is true and the port is disabled when it is false.
Public propertyEthernetState Current state of the port when last event received from the device.
Public propertyFullDuplexSettingFeedback Reports a port full duplex settings. An Ethernet port is full duplex when it is true and the port is half duplex when it is false.
Public propertyInputForDisable Input status for disabling an Ethernet Port. A rising edge to disable the port.
Public propertyInputForEnable Input status for enabling an Ethernet port. A rising edge to enable to port.
Public propertyLinkSpeedFeedback Reports an Ethernet port's link speed. Link Speed = 10,100,or 1000 (Mbps)
Public propertyLinkStatusFeedback Reports a port link status. An Ethernet port link is on when it is true and the link is off when it is false.
Public propertyNumber Number of this port on the device.
Top
Methods
 NameDescription
Public methodDisable Method to disable an Ethernet port with a rising edge.
Public methodEnable Method to enable an Ethernet port with a rising edge.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_AutoNegotiationFB An Ethernet Port Auto Negotiation is on when it is high.
Protected field_Disable Input to disable an Ethernet Port when it is high/1 (Rising edge).
Protected field_Enable Input to enable an Ethernet Port when it is high/1 (Rising edge).
Protected field_EnableFB An Ethernet Port is enabled when it is high.
Protected field_FullDuplexFB An Ethernet Port is full duplex when it is high.
Protected field_LinkSpeedFB Reports an Ethernet port's link speed.
Protected field_LinkStatusFB An Ethernet port link is on when it is high.
Top

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also