Mono Class Library: System.Security.Cryptography.X509Certificates.X509Certificate Overview | Members

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

Return a unique hash value for the certificate as an array of bytes. [Edit]

public virtual byte[] GetCertHash ()

Returns

Return the SHA1 hash of the complete certificate in a byte array. [Edit]

Remarks

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

Requirements

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