CompilerResults::Evidence Property
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.CodeDom.Compiler
Assembly: System (in System.dll)
Return to top
Indicates the evidence object that represents the security policy permissions of 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 { [PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")] Evidence^ get(); [PermissionSetAttribute(SecurityAction::LinkDemand, Name = "FullTrust")] [SecurityPermissionAttribute(SecurityAction::Demand, ControlEvidence = true)] void set(Evidence^ value); }
Property Value
Type: System.Security.Policy::Evidence^An Evidence object that represents the security policy permissions of the compiled assembly.
SecurityAction::LinkDemandSystem.Security.Permissions::SecurityPermission
for full trust for the immediate caller. This class cannot be used by partially trusted code.
for the ability to control evidence. Permission value: SecurityPermissionFlag::ControlEvidence Security action: Demand
.NET Framework
Available since 1.1
Available since 1.1
Show: