Export (0) Print
Expand All

PublisherIdentityPermission Constructor (X509Certificate)

Initializes a new instance of the PublisherIdentityPermission class with the specified Authenticode X.509v3 certificate.

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

public PublisherIdentityPermission(
	X509Certificate certificate
)

Parameters

certificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate

An X.509 certificate representing the software publisher's identity.

ExceptionCondition
ArgumentNullException

The certificate parameter is null.

ArgumentException

The certificate parameter is not a valid certificate.

The X.509 certificate defines the identity of the specified software publisher, as established by Authenticode code signing.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft