TcpConnectionInformation.State Property

Definition

Gets the state of this Transmission Control Protocol (TCP) connection.

public:
 abstract property System::Net::NetworkInformation::TcpState State { System::Net::NetworkInformation::TcpState get(); };
public abstract System.Net.NetworkInformation.TcpState State { get; }
member this.State : System.Net.NetworkInformation.TcpState
Public MustOverride ReadOnly Property State As TcpState

Property Value

TcpState

One of the TcpState enumeration values.

Remarks

The states for TCP connections are described in the TcpState enumeration documentation.

Applies to