Mono Class Library: System.Net.Sockets.NetworkStream Overview | Members

System.Net.Sockets.NetworkStream.CanRead Property

Gets a bool value indicating whether the current stream supports reading. [Edit]

public override bool CanRead { get; }

Value

true indicates that the current stream supports reading; false. indicates that the current stream does not support reading. [Edit]

Remarks

This property is read-only.

The value of this property is initially set by the System.Net.Sockets.NetworkStream constructors.

Note:

This property overrides System.IO.Stream.CanRead.

[Edit]

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0