The properties of System.IO.FileStream are listed below. For a list of all members, see the FileStream Members list.
See Also: Inherited members from System.IO.Stream
[read-only] override | CanRead | bool.
Gets a value indicating whether the current stream supports reading. |
[read-only] override | CanSeek | bool.
Gets a value indicating whether the current stream supports seeking. |
[read-only] override | CanWrite | bool.
Gets a value indicating whether the current stream supports writing. |
[read-only] | Handle | IntPtr.
Gets the operating system file handle for the file that the current FileStream object encapsulates. |
[read-only] | IsAsync | bool.
Gets a value indicating whether the FileStream was opened asynchronously or synchronously. |
[read-only] override | Length | long.
Gets the length in bytes of the stream. |
[read-only] | Name | string.
Gets the name of the FileStream that was passed to the constructor. |
override | Position | long.
Gets or sets the current position of this stream. |
[read-only] | SafeFileHandle | Microsoft.Win32.SafeHandles.SafeFileHandle.
Gets a Microsoft.Win32.SafeHandles.SafeFileHandle object that represents the operating system file handle for the file that the current System.IO.FileStream object encapsulates. |