The
methods
of System.Net.Sockets.NetworkStream are listed below. For a list of all members, see the NetworkStream Members list.
See Also: Inherited members from System.IO.Stream
Public Methods
override | BeginRead(byte[], int, int, AsyncCallback, object) : IAsyncResult
Begins an asynchronous read from the System.Net.Sockets.NetworkStream.
|
override | BeginWrite(byte[], int, int, AsyncCallback, object) : IAsyncResult
Begins an asynchronous write to a stream.
|
override | Close()
Closes the System.Net.Sockets.NetworkStream.
|
| Close(int)
Closes the System.Net.Sockets.NetworkStream after waiting the specified time to allow data to be sent.
|
override | EndRead(IAsyncResult) : int
Handles the end of an asynchronous read.
|
override | EndWrite(IAsyncResult)
Handles the end of an asynchronous write.
|
| Finalize()
Releases all resources used by the System.Net.Sockets.NetworkStream.
|
override | Flush()
Flushes data from the stream. This method is reserved for future use.
|
override | Read(byte[], int, int) : int
Reads data from the System.Net.Sockets.NetworkStream.
|
override | Seek(long, System.IO.SeekOrigin) : long
Sets the current position of the stream to the given value. This method is not currently supported and always throws a NotSupportedException.
|
override | SetLength(long)
Sets the length of the stream. This method always throws a NotSupportedException.
|
override | Write(byte[], int, int)
Writes data to the System.Net.Sockets.NetworkStream.
|
Protected Methods