The methods 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
overrideBeginRead(byte[], int, int, AsyncCallback, object) : IAsyncResult Begins an asynchronous read. overrideBeginWrite(byte[], int, int, AsyncCallback, object) : IAsyncResult Begins an asynchronous write operation. overrideClose() Closes the file and releases any resources associated with the current file stream. overrideEndRead(IAsyncResult) : int Ends a pending asynchronous read request, and blocks until the read request has completed. overrideEndWrite(IAsyncResult) Ends an asynchronous write, blocking until the I/O operation has completed.Finalize() Releases the resources held by the current instance. overrideFlush() Updates the underlying file with the current state of the buffer and subsequently clears the buffer.GetAccessControl() : System.Security.AccessControl.FileSecurity Documentation for this section has not yet been entered.Lock(long, long) Documentation for this section has not yet been entered. overrideRead(byte[], int, int) : int Reads a block of bytes from the stream and returns the data in the specified buffer. overrideReadByte() : int Reads a byte from the file and advances the read position one byte. overrideSeek(long, SeekOrigin) : long Changes the position within the current stream by the given offset, which is relative to the stated origin.SetAccessControl(System.Security.AccessControl.FileSecurity) Documentation for this section has not yet been entered. overrideSetLength(long) Sets the length of the current stream to the specified value.Unlock(long, long) Documentation for this section has not yet been entered. overrideWrite(byte[], int, int) Writes a block of bytes from a specified byte array to the current stream. overrideWriteByte(byte) Writes a byte to the current position in the file stream.
overrideDispose(bool) Releases the unmanaged resources used by the System.IO.FileStream and optionally releases the managed resources.