CompilerParameters.Evidence Property

 
Note: This API is now obsolete.

Specifies an evidence object that represents the security policy permissions to grant the compiled assembly.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

[ObsoleteAttribute("CAS policy is obsolete and will be removed in a future release of the .NET Framework. Please see http://go2.microsoft.com/fwlink/?LinkId=131738 for more information.")]
public Evidence Evidence {
	get;
	[SecurityPermissionAttribute(SecurityAction.Demand, ControlEvidence = true)]
	set;
}

Property Value

Type: System.Security.Policy.Evidence

An object that represents the security policy permissions to grant the compiled assembly.

System.Security.Permissions.SecurityPermission

for the ability control evidence. Permission value: SecurityPermissionFlag.ControlEvidence Security action: Demand

.NET Framework
Available since 1.1
Return to top
Show: