This documentation is archived and is not being maintained.

IsolatedStorage.ApplicationIdentity Property

Gets an application identity that scopes isolated storage.

Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)

[ComVisibleAttribute(false)] 
public Object ApplicationIdentity { get; }
/** @property */
public Object get_ApplicationIdentity ()

public function get ApplicationIdentity () : Object

Not applicable.

Property Value

An Object that represents the Application identity.

Exception typeCondition

SecurityException

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

InvalidOperationException

The IsolatedStorage object is not isolated by the application IsolatedStorageScope.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: