Click or drag to resize

FileStream Properties

The FileStream type exposes the following members.

Properties
 NameDescription
Public propertyCanRead Returns true if the stream supports reading.
(Overrides StreamCanRead)
Public propertyCanSeek Returns true if the stream supports seeking.
(Overrides StreamCanSeek)
Public propertyCanTimeout Gets a value that determines whether the current stream can time out.
(Overrides StreamCanTimeout)
Public propertyCanWrite Returns true if the stream supports writing.
(Overrides StreamCanWrite)
Public propertyIsAsync Gets a value indicating whether the FileStream was opened asynchronously or synchronously.
Public propertyLength Get the length of the stream in bytes.
(Overrides StreamLength)
Public propertyName Gets the name of the FileStream that was passed to the constructor.
Public propertyPosition Get or set the current position in the stream.
(Overrides StreamPosition)
Public propertyReadTimeout Gets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out.
(Overrides StreamReadTimeout)
Public propertyWriteTimeout Gets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out.
(Overrides StreamWriteTimeout)
Top
See Also