PublisherIdentityPermission Constructor (X509Certificate)

 
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.

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 Sub New (
	certificate As X509Certificate
)

Parameters

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

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

Exception Condition
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
Available since 1.1
Return to top
Show: