[]
Windows File Helper.
public class NativeFileStream : Stream, IDisposable
| Name | Description |
|---|---|
| NativeFileStream(string, NativeFileMode, NativeFileAccess, NativeFileShare) | Initializes a new instance of the NativeFileStream class. |
| Name | Description |
|---|---|
| CanRead | |
| CanSeek | |
| CanWrite | |
| Handle | Gets the stream handle. |
| Length | |
| Position |
| Name | Description |
|---|---|
| Dispose(bool) | |
| Flush() | |
| Read(byte[], int, int) | |
| Read(IntPtr, int, int) | Reads a block of bytes from the stream and writes the data in a given buffer. |
| Seek(long, SeekOrigin) | |
| SetLength(long) | |
| Write(byte[], int, int) | |
| Write(IntPtr, int, int) | Writes a block of bytes to this stream using data from a buffer. |