AppDomain::Evidence Property

 

Gets the Evidence associated with this application domain.

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

public:
property Evidence^ Evidence {
	[SecurityPermissionAttribute(SecurityAction::Demand, ControlEvidence = true)]
	virtual Evidence^ get() sealed;
}

Property Value

Type: System.Security.Policy::Evidence^

The evidence associated with this application domain.

Exception Condition
AppDomainUnloadedException

The operation is attempted on an unloaded application domain.

SecurityPermission

to load an assembly with evidence. Associated enumeration: SecurityPermissionFlag::ControlEvidence. Security action: Demand.

.NET Framework
Available since 1.1
Return to top
Show: