Class for managing directories
Class for creating FileStream objects, and some basic file management routines such as Delete, etc.
Provides a Stream for a file, supporting both synchronous and asynchronous read and write operations.
The exception that is thrown when an I/O error occurs.
Creates a stream whose backing store is memory.
Performs operations on String instances that contain file or directory path information.
Provides a generic view of a sequence of bytes. This is an abstract class.
Implements a TextReader that reads characters from a byte stream in a particular encoding.
Implements a TextWriter for writing characters to a stream in a particular encoding.
Represents a reader that can read a sequential series of characters.
Represents a writer that can write a sequential series of characters. This class is abstract.
Contains constants for specifying the access you want for a file. You can have Read, Write or ReadWrite access.
Provides attributes for files and directories.
Contains constants for specifying how the OS should open a file. These will control whether you overwrite a file, open an existing file, or some combination thereof.
To append to a file, use Append (which maps to OpenOrCreate then we seek to the end of the file). To truncate a file or create it if it doesn't exist, use Create.
Contains constants for controlling file sharing options while opening files. You can specify what access other processes trying to open the same file concurrently can have.
Provides values for error codes.
Specifies the position in a stream to use for seeking.