Mono Class Library: System.IO.Stream Overview | MembersSystem.IO.Stream.CanRead Property |
Gets a bool value indicating whether the current stream supports reading. [Edit]
|
true if the stream supports reading; otherwise, false. [Edit]
If a class derived from System.IO.Stream does not support reading, the following methods throw a NotSupportedException : Stream.BeginRead(Byte[], int, int, AsyncCallback, object) , Stream.Read(Byte[], int, int) and Stream.ReadByte .
Operation
As described above. [Edit]
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0