System.Security.Cryptography.X509Certificates.X509Certificate.GetCertHashString Method

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

Syntax

public virtual string GetCertHashString ()

Returns

The hexadecimal string representation of the X.509 certificate hash value.

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