System.Security.Policy.PublisherMembershipCondition Class

Determines whether an assembly belongs to a code group by testing its software publisher's Authenticode X.509v3 certificate. This class cannot be inherited.

See Also: PublisherMembershipCondition Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public sealed class PublisherMembershipCondition : IConstantMembershipCondition, IMembershipCondition

Remarks

A code assembly satisfies a publisher membership condition if that code is signed by the specified software publisher.

By default, code access security (CAS) does not check for System.Security.Policy.Publisher evidence. Unless your computer has a custom code group based on the System.Security.Policy.PublisherMembershipCondition class, you can improve performance by bypassing Authenticode signature verification. This is accomplished by configuring the runtime to not provide System.Security.Policy.Publisher evidence for CAS. For more information about how to configure this option and which applications can use it, see the <generatePublisherEvidence> element.

Requirements

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