StrongNameMembershipCondition.Check(Evidence) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.