The System.IO namespace contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support.
Reads primitive data types as binary values in a specific encoding.
Writes primitive types in binary to a stream and supports writing strings in a specific encoding.
Adds a buffering layer to read and write operations on another stream. This class cannot be inherited.
Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
The exception that is thrown when part of a file or directory cannot be found.
Provides access to information on a drive.
The exception that is thrown when trying to access a drive or share that is not available.
The exception that is thrown when reading is attempted past the end of a stream.
Provides file and directory enumeration options.
Provides data for the Error event.
Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of FileStream objects.
The exception that is thrown when an input file or a data stream that is supposed to conform to a certain file format specification is malformed.
Provides properties and instance methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of FileStream objects. This class cannot be inherited.
The exception that is thrown when a managed assembly is found but cannot be loaded.
The exception that is thrown when an attempt to access a file that does not exist on disk fails.
Provides a Stream for a file, supporting both synchronous and asynchronous read and write operations.
Provides Windows-specific static extension methods for manipulating Access Control List (ACL) security attributes for files and directories.
Listens to the file system change notifications and raises events when a directory, or file in a directory, changes.
The exception thrown when the internal buffer overflows.
The exception that is thrown when a data stream is in an invalid format.
Sets the description visual designers can display when referencing an event, extender, or property.
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. These operations are performed in a cross-platform manner.
The exception that is thrown when a path or fully qualified file name is longer than the system-defined maximum length.
Thrown when an error occurs within a named pipe.
Provides data for the Renamed event.
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.
Implements a TextReader that reads from a string.
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.
Provides random access to unmanaged blocks of memory from managed code.
Provides access to unmanaged blocks of memory from managed code.
Contains extension methods for converting between streams in the Windows Runtime and managed streams in the .NET for Windows Store apps.
Contains information on the change that occurred.
Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown.
Defines constants for read, write, or read/write access to a file.
Provides attributes for files and directories.
Specifies how the operating system should open a file.
Represents advanced options for creating a FileStream object.
Contains constants for controlling the kind of access other FileStream objects can have to the same file.
Specifies whether the underlying handle is inheritable by child processes.
Specifies the type of character casing to match.
Specifies the type of wildcard matching to use.
Specifies changes to watch for in a file or folder.
Specifies whether to search the current directory, or the current directory and all subdirectories.
Specifies the position in a stream to use for seeking.
Changes that might occur to a file or directory.