System.IO Namespace Classes
Constructor |
Description |
Binary Reader | It is used to read primitive data types as binary values in a specific encoding. |
Binary Writer | It is used to write primitive types in binary to a stream. |
Buffered Stream | It is used to add a buffering layer to read and write operations on another stream. It is a sealed class. |
Directory | It is used to expose static methods for creating, moving and enumerating through directories and subdirectories. It is a sealed class. |
Directory Info | It is used to expose instance methods for creating, moving and enumerating through directories and subdirectories. It is a sealed class. |
Directory Not Found Exception | It is used to handle exception related to the file or directory cannot be found. |
Drive Info | It is used to access the information on a drive. |
Drive Not Found Exception | It is used to handle drive not found exception. |
End Of Stream Exception | It is used to handle end of stream exception. |
Error Event Args | It provides data for the File System Watcher.Error event. |
File | This class provides static methods for the creation, copying, deletion, moving and opening of a single file. |
File Format Exception | It is used to handle file format exception. |
File Info | It is used to provide properties and instance methods for the creation, copying, deletion, moving and opening of files. |
File Load Exception | It is used to handle file load exception. |
File Not Found Exception | It is used to handle file not found exception. |
File Stream | It provides a Stream for a file, supporting both synchronous and asynchronous read and write operations. |
File System Event Args | It provides data for the directory events. |
File System Info | It provides the base class for both File Info and Directory Info objects. |
File System Watcher | It listens to the file system change notifications and raises events when a directory or file in a directory, changes. |
Internal Buffer Overflow Exception | This class is used to handle internal buffer overflow exception. |
Invalid Data Exception | It is used to handle invalid data exception. |
IO Description Attribute | It sets the description visual designers can display when referencing an event, extender or property. |
IO Exception | It is an exception class that handles I/O errors. |
Memory Stream | It is used to create a stream whose backing store is memory. |
Path | It performs operations on String instances that contain file or directory path information. |
Path Too Long Exception | It is an exception class and used to handle path too long exception. |
Pipe Exception | This exception class is used to handle pipe related exception. |
Stream | It is used to provide a generic view of a sequence of bytes. It is an abstract class. |
String Reader | It is used to implement a Text Reader that reads from a string. |
String Writer | It is used to implement a TextWriter for writing information to a string. The information is stored in an underlying StringBuilder. |
Stream Reader | It is used to implement a Text Reader that reads characters from a byte stream. |
Text Reader | This class is used to represent a reader that can read a sequential series of characters. |
Text Writer | This class is used to represent a writer that can write a sequential series of characters. |
Unmanaged Memory Accessor | It is used to provide random access to unmanaged blocks of memory from managed code. |
Unmanaged Memory Stream | It is used to get access to unmanaged blocks of memory from managed code. |
System.IO Namespace Structure
System.IO Namespace Delegates
System.IO Namespace Enumerations
Delegates |
Description |
Drive Type | It is used to define constants for drive types including CDRom, Fixed, Network etc. |
File Access | It is used to define constants for read, write or read/write access to a file. |
File Attributes | It is used to provide attributes for files and directories. |
File Mode | It is used to specify how the operating system should open a file. |
File Options | It is used to represents advanced options for creating a File Stream object. |
File Share | It is used to contain constants for controlling the kind of access other File Stream objects can have to the same file. |
Handle Inheritability | It specifies whether the underlying handle is inheritable by child processes. |
Notify Filters | It is used to specify changes to watch for in a file or folder. |
Search Option | It is used to specify whether to search the current directory or the current directory and all subdirectories. |
Seek Origin | It is used to specify the position in a stream to use for seeking. |
Watcher Change Types | It changes that might occur to a file or directory. |