Determines whether the current stream supports seeking.
[Visual Basic] Overridable Public ReadOnly Property CanSeek As Boolean [C#] public bool CanSeek {override get;} [C++] public: __property virtual bool get_CanSeek(); [JScript] public function get CanSeek() : Boolean;
true if the stream supports seeking; otherwise, false. Also returns false if the stream is closed.
If a BufferedStream subclass does not support seeking, calls to SetLength or Seek throw a NotSupportedException.
BufferedStream Class | BufferedStream Members | System.IO Namespace | Position | SetLength | Seek