GetCertHash Method

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

Returns the hash value for the X.509v3 certificate as an array of bytes.

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

Syntax

'Declaration
Public Overridable Function GetCertHash As Byte()
public virtual byte[] GetCertHash()
public:
virtual array<unsigned char>^ GetCertHash()
abstract GetCertHash : unit -> byte[] 
override GetCertHash : unit -> byte[] 
public function GetCertHash() : byte[]

Return Value

Type: array<System. . :: . .Byte> [] () [] []
The X.509 certificate hash value.

.NET Framework Security

See Also

Reference

X509Certificate2 Class

System.Security.Cryptography.X509Certificates Namespace