This topic has not yet been rated - Rate this topic

NetworkStream Properties

The NetworkStream type exposes the following members.

  Name Description
Public property CanRead Gets a value that indicates whether the NetworkStream supports reading. (Overrides Stream.CanRead.)
Public property 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.)
Public property CanTimeout Indicates whether timeout properties are usable for NetworkStream. (Overrides Stream.CanTimeout.)
Public property CanWrite Gets a value that indicates whether the NetworkStream supports writing. (Overrides Stream.CanWrite.)
Public property DataAvailable Gets a value that indicates whether data is available on the NetworkStream to be read.
Public property 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.)
Public property Position Gets or sets the current position in the stream. This property is not currently supported and always throws a NotSupportedException. (Overrides Stream.Position.)
Protected property Readable Gets or sets a value that indicates whether the NetworkStream can be read.
Public property ReadTimeout Gets or sets the amount of time that a read operation blocks waiting for data. (Overrides Stream.ReadTimeout.)
Protected property Socket Gets the underlying Socket.
Protected property Writeable Gets a value that indicates whether the NetworkStream is writable.
Public property WriteTimeout Gets or sets the amount of time that a write operation blocks waiting for data. (Overrides Stream.WriteTimeout.)
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ