IsolatedStorage Class

Definition

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

[System.Runtime.InteropServices.ComVisible(true)]
public abstract class IsolatedStorage : MarshalByRefObject
Inheritance
IsolatedStorage
Derived
Attributes

Inherited Members

System.MarshalByRefObject

System.Object

Remarks

For information about file-based isolated storage, see the IsolatedStorageFile class.

Important

Isolated storage is not available for Windows 8.x Store apps. Instead, use the application data classes in the Windows.Storage namespaces included in the Windows Runtime API to store local data and files. For more information, see Application data in the Windows Dev Center.

Constructors

IsolatedStorage()

Initializes a new instance of the IsolatedStorage class.

Properties

ApplicationIdentity

Gets an application identity that scopes isolated storage.

AssemblyIdentity

Gets an assembly identity used to scope isolated storage.

AvailableFreeSpace

When overridden in a derived class, gets the available free space for isolated storage, in bytes.

CurrentSize

Gets a value representing the current size of isolated storage.

DomainIdentity

Gets a domain identity that scopes isolated storage.

MaximumSize

Gets a value representing the maximum amount of space available for isolated storage. When overridden in a derived class, this value can take different units of measure.

Quota

When overridden in a derived class, gets a value that represents the maximum amount of space available for isolated storage.

Scope

Gets an IsolatedStorageScope enumeration value specifying the scope used to isolate the store.

SeparatorExternal

Gets a backslash character that can be used in a directory string. When overridden in a derived class, another character might be returned.

SeparatorInternal

Gets a period character that can be used in a directory string. When overridden in a derived class, another character might be returned.

UsedSize

When overridden in a derived class, gets a value that represents the amount of the space used for isolated storage.

Methods

GetPermission(PermissionSet)

When implemented by a derived class, returns a permission that represents access to isolated storage from within a permission set.

IncreaseQuotaTo(Int64)

When overridden in a derived class, prompts a user to approve a larger quota size, in bytes, for isolated storage.

InitStore(IsolatedStorageScope, Type, Type)

Initializes a new IsolatedStorage object.

InitStore(IsolatedStorageScope, Type)

Initializes a new IsolatedStorage object.

Remove()

When overridden in a derived class, removes the individual isolated store and all contained data.