System.Security.Policy.HashMembershipCondition.Check Method

Determines whether the specified evidence satisfies the membership condition.

Syntax

public bool Check (Evidence evidence)

Parameters

evidence
The evidence set against which to make the test.

Returns

true if the specified evidence satisfies the membership condition; otherwise, false.

Remarks

This membership condition tests only the System.Security.Policy.Hash evidence object. There should be no more than one System.Security.Policy.Hash object in the evidence.

Requirements

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