Windows Dev Center

FileStream.CanRead Property

Gets a value indicating whether the current stream supports reading.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

public override bool CanRead { get; }

Property Value

Type: System.Boolean
true if the stream supports reading; false if the stream is closed or was opened with write-only access.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft