Mono Class Library: System.Net.Sockets.Socket Overview | Members

System.Net.Sockets.Socket.Finalize Method

Closes the current instance and releases unmanaged resources allocated by the current instance. [Edit]

void Finalize ()

Remarks

Note:

Application code does not call this method; it is automatically invoked during garbage collection unless finalization by the garbage collector has been disabled. For more information, see GC.SuppressFinalize(object), and object.Finalize.

This method calls NetworkStream.Dispose(bool)(false) to free unmanaged resources used by the current instance.

This method overrides object.Finalize.

[Edit]

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0