System.Security.Policy.Evidence.Clear Method

Removes the host and assembly evidence from the evidence set.

Syntax

[System.Runtime.InteropServices.ComVisible(false)]
public void Clear ()

Remarks

Evidence.Clear removes the evidence in the host and assembly enumerations, setting both to null.

Requirements

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0