This documentation is archived and is not being maintained.

Module.GetSignerCertificate Method

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, a null reference (Nothing in Visual Basic) is returned.

[Visual Basic]
Public Function GetSignerCertificate() As X509Certificate
public X509Certificate GetSignerCertificate();
public: X509Certificate* GetSignerCertificate();
public function GetSignerCertificate() : X509Certificate;

Return Value

An X509Certificate object, or a null reference (Nothing in Visual Basic) if the assembly to which this module belongs has not been Authenticode signed.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Module Class | Module Members | System.Reflection Namespace