NetworkStream Properties
.NET Framework 4
The NetworkStream type exposes the following members.
| Name | Description | |
|---|---|---|
|
CanRead | Gets a value that indicates whether the NetworkStream supports reading. (Overrides Stream.CanRead.) |
|
CanSeek | Gets a value that indicates whether the stream supports seeking. This property is not currently supported.This property always returns false. (Overrides Stream.CanSeek.) |
|
CanTimeout | Indicates whether timeout properties are usable for NetworkStream. (Overrides Stream.CanTimeout.) |
|
CanWrite | Gets a value that indicates whether the NetworkStream supports writing. (Overrides Stream.CanWrite.) |
|
DataAvailable | Gets a value that indicates whether data is available on the NetworkStream to be read. |
|
Length | Gets the length of the data available on the stream. This property is not currently supported and always throws a NotSupportedException. (Overrides Stream.Length.) |
|
Position | Gets or sets the current position in the stream. This property is not currently supported and always throws a NotSupportedException. (Overrides Stream.Position.) |
|
Readable | Gets or sets a value that indicates whether the NetworkStream can be read. |
|
ReadTimeout | Gets or sets the amount of time that a read operation blocks waiting for data. (Overrides Stream.ReadTimeout.) |
|
Socket | Gets the underlying Socket. |
|
Writeable | Gets a value that indicates whether the NetworkStream is writable. |
|
WriteTimeout | Gets or sets the amount of time that a write operation blocks waiting for data. (Overrides Stream.WriteTimeout.) |