Module.GetSignerCertificate Module.GetSignerCertificate Module.GetSignerCertificate Module.GetSignerCertificate Method

Definition

Returns an X509Certificate object corresponding to the certificate included in the Authenticode signature of the assembly which this module belongs to. If the assembly has not been Authenticode signed, null is returned.

public:
 virtual System::Security::Cryptography::X509Certificates::X509Certificate ^ GetSignerCertificate();
public virtual System.Security.Cryptography.X509Certificates.X509Certificate GetSignerCertificate ();
abstract member GetSignerCertificate : unit -> System.Security.Cryptography.X509Certificates.X509Certificate
override this.GetSignerCertificate : unit -> System.Security.Cryptography.X509Certificates.X509Certificate
Public Overridable Function GetSignerCertificate () As X509Certificate

Returns

An X509Certificate object, or null if the assembly to which this module belongs has not been Authenticode signed.

Applies to