Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IsolatedStorage::ApplicationIdentity Property

Gets an application identity that scopes isolated storage.

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

[ComVisibleAttribute(false)]
public:
property Object^ ApplicationIdentity {
	Object^ get ();
}

Property Value

Type: System::Object
An Object that represents the Application identity.

ExceptionCondition
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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Show:
© 2015 Microsoft