namespace contains enumerations for file modes, file access, file sharing, and classes for path operations and manipulating streams. Silverlight-based applications do not use the file system of the operating system and are restricted to using isolated storage to persist and access files, so this namespace does not provide any additional functionality. For more information about how Silverlight-based applications use isolated storage, see System.IO . Isolated Storage
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.
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.
The exception that is thrown when reading is attempted past the end of a stream.
Provides static methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of
Provides instance methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of
objects. This class cannot be inherited. FileStream
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 fails.
When it is called by an elevated-trust application, exposes a
around a file, supporting both synchronous and asynchronous read and write operations. Stream
Provides the base class for both
and FileInfo objects. DirectoryInfo
The exception that is thrown when an I/O error occurs.
Creates a stream whose backing store is memory.
Performs operations on
instances that contain file or directory path information. These operations are performed in a cross-platform manner. String
The exception that is thrown when a pathname or filename is longer than the system-defined maximum length.
Provides a generic view of a sequence of bytes.
that reads characters from a byte stream in a particular encoding. TextReader
for writing characters to a stream in a particular encoding. TextWriter
that reads from a string. TextReader
for writing information to a string. The information is stored in an underlying TextWriter . StringBuilder
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 access to unmanaged blocks of memory from managed code.
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.
Contains constants for controlling the kind of access other
objects can have to the same file. IsolatedStorageFileStream
Specifies whether to search the current directory, or the current directory and all subdirectories.
Provides the fields that represent reference points in streams for seeking.