The members of System.Net.Sockets.NetworkStream are listed below.
See Also: Inherited members from System.IO.Stream
![]() Creates a new instance of the System.Net.Sockets.NetworkStream class for the specified System.Net.Sockets.Socket. | ||
![]() Initializes a new instance of the System.Net.Sockets.NetworkStream class for the specified System.Net.Sockets.Socket with the specified System.Net.Sockets.Socket ownership. | ||
![]() Creates a new instance of the System.Net.Sockets.NetworkStream class for the specified System.Net.Sockets.Socket with the specified access rights. | ||
![]() Creates a new instance of the System.Net.Sockets.NetworkStream class for the specified System.Net.Sockets.Socket with the specified access rights and the specified System.Net.Sockets.Socket ownership. |
[read-only] override | CanRead | bool.
![]() Gets a value that indicates whether the System.Net.Sockets.NetworkStream supports reading. |
[read-only] override | CanSeek | bool.
![]() Gets a value that indicates whether the stream supports seeking. This property is not currently supported.This property always returns false. |
[read-only] override | CanTimeout | bool.
![]() Indicates whether timeout properties are usable for System.Net.Sockets.NetworkStream. |
[read-only] override | CanWrite | bool.
![]() Gets a value that indicates whether the System.Net.Sockets.NetworkStream supports writing. |
[read-only] | DataAvailable | bool.
![]() Gets a value that indicates whether data is available on the System.Net.Sockets.NetworkStream to be read. |
[read-only] override | Length | long.
![]() Gets the length of the data available on the stream. This property is not currently supported and always throws a NotSupportedException. |
override | Position | long.
![]() Gets or sets the current position in the stream. This property is not currently supported and always throws a NotSupportedException. |
override | ReadTimeout | int.
![]() Gets or sets the amount of time that a read operation blocks waiting for data. |
override | WriteTimeout | int.
![]() Gets or sets the amount of time that a write operation blocks waiting for data. |
Readable | bool.
![]() Gets or sets a value that indicates whether the System.Net.Sockets.NetworkStream can be read. | |
[read-only] | Socket | Socket.
![]() Gets the underlying System.Net.Sockets.Socket. |
Writeable | bool.
![]() Gets a value that indicates whether the System.Net.Sockets.NetworkStream is writable. |
override | BeginRead(byte[], int, int, AsyncCallback, object)
| |
override | BeginWrite(byte[], int, int, AsyncCallback, object)
| |
override | Close()
| |
Close(int)
| ||
override | EndRead(IAsyncResult)
| |
override | EndWrite(IAsyncResult)
| |
Finalize()
| ||
override | Flush()
| |
override | Read(byte[], int, int)
| |
override | Seek(long, System.IO.SeekOrigin)
| |
override | SetLength(long)
| |
override | Write(byte[], int, int)
|
override | Dispose(bool)
|
IDisposable.Dispose |
![]() Releases all resources used by the System.Net.Sockets.NetworkStream. |