NetworkStream.Close Method
.NET Framework 2.0
Closes the NetworkStream object.
| Name | Description |
|---|---|
| NetworkStream.Close () | Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. |
| NetworkStream.Close (Int32) | Closes the NetworkStream after waiting the specified time to allow data to be sent. |