System.IO namespaces for UWP apps
The System.IO, System.IO.Compression, and System.IO.IsolatedStorage namespaces contain types that support reading and writing data to streams; basic compression and decompression services for streams; and allow the creation and use of isolated stores.
This topic displays the types in the System.IO and System.IO.Compression namespaces that are included in .NET for UWP apps. Note that .NET for UWP apps does not include all the members of each type. For information about individual types, see the linked topics. The documentation for a type indicates which members are included in .NET for UWP apps.
Types supported in .NET for UWP apps | Description |
|---|---|
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.To browse the .NET Framework source code for this type; see the Reference Source. | |
Exposes instance methods for creating; moving; and enumerating through directories and subdirectories. This class cannot be inherited.To browse the .NET Framework source code for this type; see the Reference Source. | |
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 a single file; and aids in the creation of FileStream objects.To browse the .NET Framework source code for this type; see the Reference Source. | |
Defines constants for read; write; or read/write access to a file. | |
Provides attributes for files and directories. | |
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.To browse the .NET Framework source code for this type; see the Reference Source. | |
The exception that is thrown when a managed assembly is found but cannot be loaded. | |
Specifies how the operating system should open a file. | |
The exception that is thrown when an attempt to access a file that does not exist on disk fails. | |
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. | |
Provides a Stream for a file; supporting both synchronous and asynchronous read and write operations.To browse the .NET Framework source code for this type; see the Reference Source. | |
Provides the base class for both FileInfo and DirectoryInfo objects. | |
Specifies whether the underlying handle is inheritable by child processes. | |
The exception that is thrown when a data stream is in an invalid format. | |
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 file name is longer than the system-defined maximum length. | |
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. | |
Provides a generic view of a sequence of bytes. | |
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. | |
Implements a TextWriter for writing information to a string. The information is stored in an underlying 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 random access to unmanaged blocks of memory from managed code. | |
Provides access to unmanaged blocks of memory from managed code. | |
Contains extension methods for the IStorageFile and IStorageFolder interfaces in the wrt when developing win8_appname_long apps. | |
Contains extension methods for converting between streams in the wrt and managed streams in the net_win8_profile. |
Types supported in the .NET for UWP apps | Description |
|---|---|
Specifies values that indicate whether a compression operation emphasizes speed or compression size. | |
Specifies whether to compress or decompress the underlying stream. | |
Provides methods and properties for compressing and decompressing streams using the Deflate algorithm. | |
Provides methods and properties used to compress and decompress streams. | |
Represents a zip archive. | |
Represents an entry in the zip archive. | |
Specifies values for interacting with zip archive entries. | |
Provides static methods for creating; extracting; and opening zip archives. | |
Provides extension methods for the ZipArchive and ZipArchiveEntry classes. |
Types supported in the .NET for UWP apps | Description |
|---|---|
The exception that is thrown when an operation in isolated storage fails. | |
Represents an isolated storage area containing files and directories. | |
Exposes a file within isolated storage. |