FileStream Properties
.NET Framework 4.5
The FileStream type exposes the following members.
| Name | Description | |
|---|---|---|
|
CanRead | Gets a value indicating whether the current stream supports reading. (Overrides Stream.CanRead.) |
|
CanSeek | Gets a value indicating whether the current stream supports seeking. (Overrides Stream.CanSeek.) |
|
CanTimeout | Gets a value that determines whether the current stream can time out. (Inherited from Stream.) |
|
CanWrite | Gets a value indicating whether the current stream supports writing. (Overrides Stream.CanWrite.) |
|
Handle | Obsolete. Gets the operating system file handle for the file that the current FileStream object encapsulates. |
|
IsAsync | Gets a value indicating whether the FileStream was opened asynchronously or synchronously. |
|
Length | Gets the length in bytes of the stream. (Overrides Stream.Length.) |
|
Name | Gets the name of the FileStream that was passed to the constructor. |
|
Position | Gets or sets the current position of this stream. (Overrides Stream.Position.) |
|
ReadTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.) |
|
SafeFileHandle | Gets a SafeFileHandle object that represents the operating system file handle for the file that the current FileStream object encapsulates. |
|
WriteTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.) |