GetCertHashString Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the SHA1 hash value for the X.509v3 certificate as a hexadecimal string.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public Overridable Function GetCertHashString As String
public virtual string GetCertHashString()
public:
virtual String^ GetCertHashString()
abstract GetCertHashString : unit -> string 
override GetCertHashString : unit -> string 
public function GetCertHashString() : String

Return Value

Type: System. . :: . .String
The hexadecimal string representation of the X.509 certificate hash value.

.NET Framework Security

See Also

Reference

X509Certificate2 Class

System.Security.Cryptography.X509Certificates Namespace