StrongNameMembershipCondition.Check Method (Evidence)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the specified evidence satisfies the membership condition.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

abstract Check : 
        evidence:Evidence -> bool
override Check : 
        evidence:Evidence -> bool

Parameters

evidence
Type: System.Security.Policy.Evidence

The Evidence against which to make the test.

Return Value

Type: System.Boolean

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

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.

.NET Framework
Available since 1.1
Return to top
Show: