System.Security.Cryptography.X509Certificates.X509Certificate.GetCertHash Method

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

Syntax

public virtual byte[] GetCertHash ()

Returns

The hash value for the X.509 certificate.

Remarks

This is similar to the thumbprint used in many certificate viewers.

Requirements

Namespace: System.Security.Cryptography.X509Certificates
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0