The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
TcpClient::Active Property
.NET Framework (current version)
Gets or set a value that indicates whether a connection has been made.
Assembly: System (in System.dll)
Classes deriving from TcpClient can use this property to determine if a connection attempt has succeeded. It does not monitor the ongoing connection state of TcpClient. If the remote host closes the connection, Active will not be updated. If you are deriving from TcpClient and require closer attention to the connection state, use the Connected property of the Socket returned by the Client method.
.NET Framework
Available since 1.1
Available since 1.1
Show: