The members of System.IO.FileStream are listed below.
See Also: Inherited members from System.IO.Stream
Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission. | ||
Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission. | ||
Initializes a new instance of the System.IO.FileStream class with the specified path and creation mode. | ||
Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission, and buffer size. | ||
Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission and FileStream instance ownership. | ||
Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, and read/write permission. | ||
Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission, buffer size, and synchronous or asynchronous state. | ||
Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission, FileStream instance ownership, and buffer size. | ||
Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, read/write permission, and sharing permission. | ||
Initializes a new instance of the System.IO.FileStream class for the specified file handle, with the specified read/write permission, FileStream instance ownership, buffer size, and synchronous or asynchronous state. | ||
Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, read/write and sharing permission, and buffer size. | ||
Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, read/write and sharing permission, buffer size, and synchronous or asynchronous state. | ||
Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, read/write and sharing permission, the access other FileStreams can have to the same file, the buffer size, and additional file options. | ||
Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, access rights and sharing permission, the buffer size, and additional file options. | ||
Initializes a new instance of the System.IO.FileStream class with the specified path, creation mode, access rights and sharing permission, the buffer size, additional file options, access control and audit security. |
[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. |
override | BeginRead(byte[], int, int, AsyncCallback, object)
| |
override | BeginWrite(byte[], int, int, AsyncCallback, object)
| |
override | Close()Closes the file and releases any resources associated with the current file stream. | |
override | EndRead(IAsyncResult)
| |
override | EndWrite(IAsyncResult)
| |
Finalize()
| ||
override | Flush()
| |
Flush(bool)
| ||
override | FlushAsync(System.Threading.CancellationToken)
| |
GetAccessControl()
| ||
Lock(long, long)
| ||
override | Read(byte[], int, int)
| |
override | ReadAsync(byte[], int, int, System.Threading.CancellationToken)
| |
override | ReadByte()
| |
override | Seek(long, SeekOrigin)
| |
SetAccessControl(System.Security.AccessControl.FileSecurity)
| ||
override | SetLength(long)
| |
Unlock(long, long)
| ||
override | Write(byte[], int, int)
| |
override | WriteAsync(byte[], int, int, System.Threading.CancellationToken)
| |
override | WriteByte(byte)
|
override | Dispose(bool)
|