System.IO.IsolatedStorage.IsolatedStorageFile.GetStore Method

Obtains isolated storage corresponding to the given application domain and the assembly evidence objects and types.

Syntax

public static IsolatedStorageFile GetStore (IsolatedStorageScope scope, System.Security.Policy.Evidence domainEvidence, Type domainEvidenceType, System.Security.Policy.Evidence assemblyEvidence, Type assemblyEvidenceType)

Parameters

scope
A bitwise combination of the enumeration values.
domainEvidence
An object that contains the application domain identity.
domainEvidenceType
The identity type to choose from the application domain evidence.
assemblyEvidence
An object that contains the code assembly identity.
assemblyEvidenceType
The identity type to choose from the application code assembly evidence.

Returns

An object that represents the parameters.

Remarks

Note:

If the scope parameter is IsolatedStorageScope.Domain and the application domain in which the assembly is installed does not have System.Security.Permissions.IsolatedStorageFilePermission, the IsolatedStorageFile.GetStore(IsolatedStorageScope, Type, Type) method will return an System.IO.IsolatedStorage.IsolatedStorageFile object without a quota. Later attempts to create an System.IO.IsolatedStorage.IsolatedStorageFile object using the System.IO.IsolatedStorage.IsolatedStorageFile object that does not have a quota will fail with an System.IO.IsolatedStorage.IsolatedStorageException.

Requirements

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