Finalize Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Frees resources used by the Socket class.

Namespace:  System.Net.Sockets
Assembly:  System (in System.dll)

protected override void Finalize()

The Socket class finalizer calls the Close method to close the Socket and free resources associated with the Socket.

Show: