Edit

Share via


ModuleBuilder.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:
 override System::Security::Cryptography::X509Certificates::X509Certificate ^ GetSignerCertificate();
public override System.Security.Cryptography.X509Certificates.X509Certificate GetSignerCertificate ();
override this.GetSignerCertificate : unit -> System.Security.Cryptography.X509Certificates.X509Certificate
Public Overrides Function GetSignerCertificate () As X509Certificate

Returns

A certificate, or null if the assembly to which this module belongs has not been Authenticode signed.

Applies to