System.IO.IsolatedStorage.IsolatedStorageFile.CurrentSize Property

Gets the current size of the isolated storage.

Syntax

[System.CLSCompliant(false)]
[System.Obsolete]
public override ulong CurrentSize { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Represents the total usage of all files and directories within the isolated storage scope.

The current size cannot be accurately determined for stores that are participating in a roaming user profile. Because roaming profiles are often cached on multiple client machines and later synchronized with a server, quotas cannot be enforced for such stores and the current size is not reported.

The [<topic://cpconanticipatingoutofspaceconditions>] example demonstrates the use of the IsolatedStorageFile.CurrentSize 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