System.IO.IsolatedStorage.IsolatedStorageFile.GetUserStoreForAssembly Method

Obtains user-scoped isolated storage corresponding to the calling code's assembly identity.

Syntax

public static IsolatedStorageFile GetUserStoreForAssembly ()

Returns

An object corresponding to the isolated storage scope based on the calling code's assembly identity.

Remarks

The same assembly within different applications always uses the same isolated store when using this method.

IsolatedStorageFile.GetUserStoreForAssembly is functionally equivalent to the following code:

code reference: System.IO.IsolatedStorage.IsolatedStorage#22

Note:

Different assemblies running within the same application domain always have distinct isolated stores.

Requirements

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