Draft for Information Only
Content
System IO Component System.IO Namespace Classes Structs Enums Delegates Source/Reference
System IO Component
The system io component used in ASP.NET is mainly supported by the System.IO namespace of .NET framework. The System.IO namespace provides access to the IO functuins of the .NET framework.
System.IO Namespace
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. Some typical function are drive functions, directory functions, file functions, path functions, file i/o function and file stream functions.
Classes
BinaryReader
Reads primitive data types as binary values in a specific encoding.
BinaryWriter
Writes primitive types in binary to a stream and supports writing strings in a specific encoding.
BufferedStream
Adds a buffering layer to read and write operations on another stream. This class cannot be inherited.
Directory
Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
DirectoryInfo
Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.
DirectoryNotFoundException
The exception that is thrown when part of a file or directory cannot be found.
DriveInfo
Provides access to information on a drive.
DriveNotFoundException
The exception that is thrown when trying to access a drive or share that is not available.
EndOfStreamException
The exception that is thrown when reading is attempted past the end of a stream.
ErrorEventArgs
Provides data for the Error event.
File
Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of FileStream objects.
FileFormatException
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.
FileInfo
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.
FileLoadException
The exception that is thrown when a managed assembly is found but cannot be loaded.
FileNotFoundException
The exception that is thrown when an attempt to access a file that does not exist on disk fails.
FileStream
Provides a Stream for a file, supporting both synchronous and asynchronous read and write operations.
FileSystemEventArgs
Provides data for the directory events: Changed , Created , Deleted .
FileSystemInfo
Provides the base class for both FileInfo and DirectoryInfo objects.
FileSystemWatcher
Listens to the file system change notifications and raises events when a directory, or file in a directory, changes.
InternalBufferOverflowException
The exception thrown when the internal buffer overflows.
InvalidDataException
The exception that is thrown when a data stream is in an invalid format.
IODescriptionAttribute
Sets the description visual designers can display when referencing an event, extender, or property.
IOException
The exception that is thrown when an I/O error occurs.
MemoryStream
Creates a stream whose backing store is memory.
Path
Performs operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner.
PathTooLongException
The exception that is thrown when a path or fully qualified file name is longer than the system-defined maximum length.
PipeException
Thrown when an error occurs within a named pipe.
RenamedEventArgs
Provides data for the Renamed event.
Stream
Provides a generic view of a sequence of bytes. This is an abstract class.
StreamReader
Implements a TextReader that reads characters from a byte stream in a particular encoding.
StreamWriter
Implements a TextWriter for writing characters to a stream in a particular encoding.
StringReader
Implements a TextReader that reads from a string.
StringWriter
Implements a TextWriter for writing information to a string. The information is stored in an underlying StringBuilder .
TextReader
Represents a reader that can read a sequential series of characters.
TextWriter
Represents a writer that can write a sequential series of characters. This class is abstract.
UnmanagedMemoryAccessor
Provides random access to unmanaged blocks of memory from managed code.
UnmanagedMemoryStream
Provides access to unmanaged blocks of memory from managed code.
Structs
Enums
DriveType
Defines constants for drive types, including CDRom, Fixed, Network, NoRootDirectory, Ram, Removable, and Unknown.
FileAccess
Defines constants for read, write, or read/write access to a file.
FileAttributes
Provides attributes for files and directories.
FileMode
Specifies how the operating system should open a file.
FileOptions
Represents advanced options for creating a FileStream object.
FileShare
Contains constants for controlling the kind of access other FileStream objects can have to the same file.
HandleInheritability
Specifies whether the underlying handle is inheritable by child processes.
NotifyFilters
Specifies changes to watch for in a file or folder.
SearchOption
Specifies whether to search the current directory, or the current directory and all subdirectories.
SeekOrigin
Specifies the position in a stream to use for seeking.
WatcherChangeTypes
Changes that might occur to a file or directory.
Delegates
Source/Reference
©sideway
ID: 200700001 Last Updated: 7/1/2020 Revision: 0 Ref:
References
Active Server Pages, , http://msdn.microsoft.com/en-us/library/aa286483.aspx
ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929%28v=vs.90%29.aspx
ASP Best Practices, , http://technet.microsoft.com/en-us/library/cc939157.aspx
ASP Built-in Objects, , http://msdn.microsoft.com/en-us/library/ie/ms524716(v=vs.90).aspx
Response Object, , http://msdn.microsoft.com/en-us/library/ms525405(v=vs.90).aspx
Request Object, , http://msdn.microsoft.com/en-us/library/ms524948(v=vs.90).aspx
Server Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525541(v=vs.90).aspx
Application Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525360(v=vs.90).aspx
Session Object (IIS), , http://msdn.microsoft.com/en-us/library/ms524319(8v=vs.90).aspx
ASPError Object, , http://msdn.microsoft.com/en-us/library/ms524942(v=vs.90).aspx
ObjectContext Object (IIS), , http://msdn.microsoft.com/en-us/library/ms525667(v=vs.90).aspx
Debugging Global.asa Files, , http://msdn.microsoft.com/en-us/library/aa291249(v=vs.71).aspx
How to: Debug Global.asa files, , http://msdn.microsoft.com/en-us/library/ms241868(v=vs.80).aspx
Calling COM Components from ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524620(v=VS.90).aspx
IIS ASP Scripting Reference, , http://msdn.microsoft.com/en-us/library/ms524664(v=vs.90).aspx
ASP Keywords, , http://msdn.microsoft.com/en-us/library/ms524672(v=vs.90).aspx
Creating Simple ASP Pages, , http://msdn.microsoft.com/en-us/library/ms524741(v=vs.90).aspx
Including Files in ASP Applications, , http://msdn.microsoft.com/en-us/library/ms524876(v=vs.90).aspx
ASP Overview, , http://msdn.microsoft.com/en-us/library/ms524929(v=vs.90).aspx
FileSystemObject Object, , http://msdn.microsoft.com/en-us/library/z9ty6h50(v=vs.84).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms675944(v=vs.85).aspx, , ADO Object Model
ADO Fundamentals, , http://msdn.microsoft.com/en-us/library/windows/desktop/ms680928(v=vs.85).aspx