Upraviť

Zdieľať cez


StrongNameMembershipCondition.Check(Evidence) Method

Definition

Determines whether the specified evidence satisfies the membership condition.

public:
 virtual bool Check(System::Security::Policy::Evidence ^ evidence);
public bool Check (System.Security.Policy.Evidence evidence);
abstract member Check : System.Security.Policy.Evidence -> bool
override this.Check : System.Security.Policy.Evidence -> bool
Public Function Check (evidence As Evidence) As Boolean

Parameters

evidence
Evidence

The Evidence against which to make the test.

Returns

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

Implements

Remarks

This membership condition tests only the StrongName evidence object.

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

Applies to