Gets a value indicating whether the current stream supports reading.
abstract CanRead : bool
override CanRead : bool
If a class derived from Stream does not support reading, calls to the Read and ReadByte methods throw a NotSupportedException.
If the stream is closed, this property returns false.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2