Export (0) Print
Expand All

IsolatedStorage.ApplicationIdentity Property

Note: This property is new in the .NET Framework version 2.0.

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

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft