Class TcpClientEx
Extension of the TcpClient class that implements observation of the object's disposal state.
Inherited Members
Namespace: TheXDS.MCART.Types
Assembly: MCART.dll
Syntax
public class TcpClientEx : TcpClient, IDisposableEx, IDisposable
Properties
| Edit this page View SourceIsDisposed
Gets a value indicating whether the current instance has been disposed.
Declaration
public bool IsDisposed { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
| Edit this page View SourceDispose(bool)
Releases the unmanaged resources used by TcpClient and optionally releases the managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | Set to true to release both managed and unmanaged resources; set to false to release only unmanaged resources. |