Determines whether the current stream supports reading.
[Visual Basic] Overridable Public ReadOnly Property CanRead As Boolean [C#] public bool CanRead {override get;} [C++] public: __property virtual bool get_CanRead(); [JScript] public function get CanRead() : Boolean;
true if the stream supports reading; false otherwise. Also returns false if the stream is closed.
If a Stream subclass does not support reading, calls to the read and peek methods will throw a NotSupportedException.