Close Method

NetworkStream.Close Method

 

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

NameDescription
System_CAPS_pubmethodClose()

Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed.(Inherited from Stream.)

System_CAPS_pubmethodClose(Int32)

Closes the NetworkStream after waiting the specified time to allow data to be sent.

Return to top
Show:
© 2016 Microsoft