Class | Description |
---|---|
BinaryReader |
Reads primitive data types as binary values in a specific encoding.
|
BinaryWriter |
Writes primitive types in binary to a stream and supports writing strings in a specific encoding.
|
FileStream |
When it is called by an elevated-trust application, exposes a System.IO.Stream around a file, supporting both synchronous and asynchronous read and write operations.
|
MemoryStream |
Defines a stream whose backing store is memory.
|
Stream |
Provides a generic view of a sequence of bytes.
|
Enum | Description |
---|---|
FileAccess |
Defines constants for read, write, or read/write access to a file.
|
FileMode |
Specifies how the operating system should open a file.
|
FileShare |
Contains constants for controlling the kind of access other System.IO.IsolatedStorage.IsolatedStorageFileStream objects can have to the same file.
|
SeekOrigin |
Provides the fields that represent reference points in streams for seeking.
|
Exception | Description |
---|---|
EndOfStreamException |
The exception that is thrown when reading is attempted past the end of a stream.
|
FileNotFoundException |
The exception that is thrown when an attempt to access a file that does not exist fails.
|
IOException |
The exception that is thrown when an I/O error occurs.
|
PathTooLongException |