System.Security.HostSecurityManager.ResolvePolicy Method

Determines what permissions to grant to code based on the specified evidence.

Syntax

public virtual PermissionSet ResolvePolicy (System.Security.Policy.Evidence evidence)

Parameters

evidence
The evidence set used to evaluate policy.

Returns

The permission set that can be granted by the security system.

Remarks

This method invokes the security policy engine, providing it with the specified evidence. The result is determined by the security policy.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0