CompilerParameters::Evidence Property
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.CodeDom.Compiler
Assembly: System (in System.dll)
Return to top
Specifies an evidence object that represents the security policy permissions to grant the compiled assembly.
Assembly: System (in System.dll)
public: [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.")] property Evidence^ Evidence { Evidence^ get(); [SecurityPermissionAttribute(SecurityAction::Demand, ControlEvidence = true)] void set(Evidence^ value); }
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
Available since 1.1
Show: