Releases all resources used by the System.Net.Sockets.NetworkStream.
This method overrides object.Finalize. Application code should not call this method; an object's object.Finalize method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the GC.SuppressFinalize(object) method.
For more information about using the Finalize method, see Finalize Methods and Destructors, Cleaning Up Unmanaged Resources, and Overriding the Finalize Method.