This documentation is archived and is not being maintained.

PublisherMembershipCondition Constructor

Initializes a new instance of the PublisherMembershipCondition class with the Authenticode X.509v3 certificate that determines membership.

[Visual Basic]
Public Sub New( _
   ByVal certificate As X509Certificate _
)
[C#]
public PublisherMembershipCondition(
   X509Certificate certificate
);
[C++]
public: PublisherMembershipCondition(
   X509Certificate* certificate
);
[JScript]
public function PublisherMembershipCondition(
   certificate : X509Certificate
);

Parameters

certificate
An X509Certificate that contains the software publisher's public key.

Remarks

Code satisfies the membership condition if it is signed by the software publisher with the private key that corresponds to the specified public key certificate.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PublisherMembershipCondition Class | PublisherMembershipCondition Members | System.Security.Policy Namespace

Show: