Editare

Partajați prin


IsolatedStorage.ApplicationIdentity Property

Definition

Gets an application identity that scopes isolated storage.

public:
 property System::Object ^ ApplicationIdentity { System::Object ^ get(); };
public object ApplicationIdentity { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public object ApplicationIdentity { get; }
member this.ApplicationIdentity : obj
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.ApplicationIdentity : obj
Public ReadOnly Property ApplicationIdentity As Object

Property Value

An Object that represents the Application identity.

Attributes

Exceptions

The code lacks the required SecurityPermission to access this object. These permissions are granted by the runtime based on security policy.

The IsolatedStorage object is not isolated by the application IsolatedStorageScope.

Remarks

Since the definition of an application includes all assemblies associated with the application, you can use this type of identity to ensure that only assemblies associated with the application have access to the isolated storage.

Applies to