System.Security.Policy.Evidence.AddHost Method

Adds the specified evidence supplied by the host to the evidence set.

Syntax

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

Parameters

id
Any evidence object.

Remarks

Use this method for evidence supplied by the host.

Note:

This method does not perform a check to prevent adding duplicate types of evidence. Many host 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