Gets the fingerprint of the certificate.
MimeKit (in MimeKit.dll) Version: 4.3.0
public static string GetFingerprint(
this X509Certificate certificate
- certificate X509Certificate
- The certificate.
In Visual Basic and C#, you can call this method as an instance method on any object of type X509Certificate
. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic)
or Extension Methods (C# Programming Guide)
A fingerprint is a SHA-1 hash of the raw certificate data and is often used
as a unique identifier for a particular certificate in a certificate store.