System.Security.SecurityManager.ResolvePolicy Method

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

Syntax

[System.Obsolete]
public static PermissionSet ResolvePolicy (System.Security.Policy.Evidence evidence)

Parameters

evidence
The evidence set used to evaluate policy.

Returns

The set of permissions that can be granted by the security system.

Remarks

This method invokes the security policy engine, providing it with evidence of the calling code's identity. The result is determined by the security policy.

Requirements

Namespace: System.Security
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0