Module.GetSignerCertificate Метод

Определение

Возвращает объект X509Certificate, соответствующий сертификату, включаемому в подпись Authenticode сборки, которой принадлежит этот модуль.Returns an X509Certificate object corresponding to the certificate included in the Authenticode signature of the assembly which this module belongs to. Если сборка не имеет подписи Authenticode, возвращается значение null.If the assembly has not been Authenticode signed, null is returned.

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

Возвращаемое значение

X509Certificate

Объект X509Certificate или значение null, если сборка, содержащая этот модуль, не имеет подписи Authenticode.An X509Certificate object, or null if the assembly to which this module belongs has not been Authenticode signed.

Применяется к