HostSecurityManager.ProvideAppDomainEvidence Method (Evidence)

 

Provides the application domain evidence for an assembly being loaded.

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

public virtual Evidence ProvideAppDomainEvidence(
	Evidence inputEvidence
)

Parameters

inputEvidence
Type: System.Security.Policy.Evidence

Additional evidence to add to the AppDomain evidence.

Return Value

Type: System.Security.Policy.Evidence

The evidence to be used for the AppDomain.

This method can be overridden in a derived class.

This method is called whenever an AppDomain object is created. The inputEvidence parameter is the computed evidence from the common language runtime. The host implementation can choose to extend or reduce the evidence. The return value is the evidence to be used for the application domain. The base implementation always returns the evidence object passed in as the inputEvidence parameter.

System_CAPS_importantImportant

See the Notes to Inheritors for the HostSecurityManager class for critical implementation information.

.NET Framework
Available since 2.0
Return to top
Show: