System.Security.Policy.Evidence.AddAssembly Method

Adds the specified assembly evidence to the evidence set.

Syntax

[System.Obsolete]
public void AddAssembly (object id)

Parameters

id
Any evidence object.

Remarks

Use this method for evidence derived from the assembly.

Note:

This method does not perform a check to prevent adding duplicate types of evidence. Many assembly evidence objects can exist at the same time.

Requirements

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