SecurityManager.ResolvePolicy Method (Evidence)
Determines what permissions to grant to code based on the specified evidence.
Assembly: mscorlib (in mscorlib.dll)
[ObsoleteAttribute("This method is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")] public static PermissionSet ResolvePolicy( Evidence evidences )
An array of evidence objects used to evaluate policy.
Return ValueType: System.Security.PermissionSet
The set of permissions that is appropriate for all of the provided evidence.
This method invokes the security policy engine, providing it with an array of Evidence objects. The returned permission set represents only those permissions that apply to every evidence in the array. These permissions are either equivalent to, or a subset of the permissions that policy would have granted to each individual evidence. This method behaves as if you were performing an intersection on the results of resolving policy on each of the Evidence objects in the array.
Available since 2.0