Mono Class Library: Overview

System.Net.Sockets.NetworkStream: Method Members

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 operation to read data from the current instance.
override
BeginWrite(byte[], int, int, AsyncCallback, object) : IAsyncResult
Begins an asynchronous operation to write data to the current instance.
override
Close()
Closes the stream and, if owned by the current instance, the underlying socket.
Close(int)
Documentation for this section has not yet been entered.
override
EndRead(IAsyncResult) : int
Ends an asynchronous call to read data from the current instance.
override
EndWrite(IAsyncResult)
Ends an asynchronous call to write data to the current instance.
Finalize()
Frees unmanaged resources used by the current instance.
override
Flush()
This method is reserved for future use.
override
Read(byte[], int, int) : int
Reads data from the current instance and stores it in a data buffer.
override
Seek(long, System.IO.SeekOrigin) : long
Throws a NotSupportedException.
override
SetLength(long)
Throws a NotSupportedException.
override
Write(byte[], int, int)
Writes data from a specific area of a data buffer to the current instance.

Protected Methods

override
Dispose(bool)
Releases the unmanaged resources used by the current instance and optionally releases the managed resources.