Export (0) Print
Expand All

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.

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

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public NotInheritable Class PublisherMembershipCondition
	Implements IMembershipCondition, ISecurityEncodable, ISecurityPolicyEncodable
'Usage
Dim instance As PublisherMembershipCondition

/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public final class PublisherMembershipCondition implements IMembershipCondition, ISecurityEncodable, 
	ISecurityPolicyEncodable
SerializableAttribute 
ComVisibleAttribute(true) 
public final class PublisherMembershipCondition implements IMembershipCondition, ISecurityEncodable, 
	ISecurityPolicyEncodable
Not applicable.

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 Publisher evidence. Unless your computer has a custom code group based on the PublisherMembershipCondition class, you can improve performance by bypassing Authenticode signature verification. This is accomplished by configuring the runtime to not provide Publisher evidence for CAS. For more information about how to configure this option and which applications can use it, see the <generatePublisherEvidence> element.

System.Object
  System.Security.Policy.PublisherMembershipCondition

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft