Mono Class Library: Overview

System.Net.Sockets.NetworkStream: Members

The members of System.Net.Sockets.NetworkStream are listed below.

See Also: Inherited members from System.IO.Stream

Public Constructors

Constructs and initializes a new instance of the System.Net.Sockets.NetworkStream class.
Constructs and initializes a new instance of the System.Net.Sockets.NetworkStream class.
Constructs and initializes a new instance of the System.Net.Sockets.NetworkStream class.
Constructs and initializes a new instance of the System.Net.Sockets.NetworkStream class.

Public Properties

[read-only]
override
CanReadbool. Gets a bool value indicating whether the current stream supports reading.
[read-only]
override
CanSeekbool. Returns the bool value false to indicate that the System.Net.Sockets.NetworkStream class cannot access a specific location in the data stream.
[read-only]
override
CanTimeoutbool. Documentation for this section has not yet been entered.
[read-only]
override
CanWritebool. Gets a bool value indicating whether the current stream supports writing.
[read-only]
DataAvailablebool. Gets a bool value indicating whether data is available to be read from the underlying socket buffer.
[read-only]
override
Lengthlong. Throws a NotSupportedException.
override
Positionlong. Throws a NotSupportedException.
override
ReadTimeoutint. Documentation for this section has not yet been entered.
override
WriteTimeoutint. Documentation for this section has not yet been entered.

Protected Properties

Readablebool. Documentation for this section has not yet been entered.
[read-only]
SocketSocket. Documentation for this section has not yet been entered.
Writeablebool. Documentation for this section has not yet been entered.

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.

Explicitly Implemented Interface Members

IDisposable.DisposeDocumentation for this section has not yet been entered.