IsolatedStorage.DomainIdentity Property

 

Gets a domain identity that scopes isolated storage.

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

public object DomainIdentity {
	[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlPolicy)]
	get;
}

Property Value

Type: System.Object

An Object that represents the Domain identity.

Exception Condition
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 domain IsolatedStorageScope.

SecurityPermission

for the ability to access evidence. Associated enumeration: SecurityPermissionFlag.ControlPolicy

.NET Framework
Available since 1.1
Return to top
Show: