System.IO.IsolatedStorage Namespace

 

The System.IO.IsolatedStorage namespace contains types that allow the creation and use of isolated stores. With these stores, you can read and write data that less trusted code cannot access and prevent the exposure of sensitive information that can be saved elsewhere on the file system. Data is stored in compartments that are isolated by the current user and by the assembly in which the code exists. Additionally, data can be isolated by domain. Roaming profiles can be used in conjunction with isolated storage so isolated stores will travel with the user's profile. The IsolatedStorageScope enumeration indicates different types of isolation. For more information about when to use isolated storage, see Isolated Storage.

ClassDescription
System_CAPS_pubclassIsolatedStorage

Represents the abstract base class from which all isolated storage implementations must derive.

System_CAPS_pubclassIsolatedStorageException

The exception that is thrown when an operation in isolated storage fails.

System_CAPS_pubclassIsolatedStorageFile

Represents an isolated storage area containing files and directories.

System_CAPS_pubclassIsolatedStorageFileStream

Exposes a file within isolated storage.

System_CAPS_pubclassIsolatedStorageSecurityState

Provides settings for maintaining the quota size for isolated storage.

InterfaceDescription
System_CAPS_pubinterfaceINormalizeForIsolatedStorage

Enables comparisons between an isolated store and an application domain and assembly's evidence.

EnumerationDescription
System_CAPS_pubenumIsolatedStorageScope

Enumerates the levels of isolated storage scope that are supported by IsolatedStorage.

System_CAPS_pubenumIsolatedStorageSecurityOptions

Specifies options that affect security in isolated storage.

The IsolatedStorageFile class provides most of the necessary functionality for isolated storage. Use this class to obtain, delete and manage isolated storage. The IsolatedStorageFileStream class handles reading and writing files to a store. This is similar to reading and writing in standard File I/O classes. For more information about I/O, see the System.IO namespace.

For examples using isolated storage, see Isolated Storage

Return to top
Show: