FileStream.CanSeek Property
Gets a value indicating whether the current stream supports seeking.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Syntax
public override bool CanSeek { get; }
Property Value
true if the stream supports seeking; false if the stream is closed or if the FileStream was constructed from an operating-system handle such as a pipe or output to the console.
Version Information
Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.