System.IO.IsolatedStorage.IsolatedStorage.MaximumSize Property

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.

Syntax

[System.CLSCompliant(false)]
[System.Obsolete]
public virtual ulong MaximumSize { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The default implementation of the IsolatedStorage.MaximumSize property returns the value of System.Security.Permissions.IsolatedStoragePermission.UserQuota, which is expressed in bytes. Derived classes can express the value in other units of measure. A potential example of such an implementation is an isolated storage database.

You cannot set IsolatedStorage.MaximumSize, but the quota is configured in the security policy, and can be set. Code receives a quota of space on the basis of its evidence, so the same code can receive a different quota if it is run with different evidence (for example, the same application run locally and from a share on an intranet can receive different quotas). IsolatedStorageFile.MaximumSize implements this property.

Requirements

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0