System.Security.Policy.StrongNameMembershipCondition.Check Method

Determines whether the specified evidence satisfies the membership condition.

Syntax

public bool Check (Evidence evidence)

Parameters

evidence
The System.Security.Policy.Evidence 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.StrongName evidence object.

The membership condition is satisfied if the specified evidence contains a System.Security.Policy.StrongName with the same System.Security.Policy.StrongName (public key, name, and version) as specified by the System.Security.Policy.StrongNameMembershipCondition.

Requirements

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