| X509CertificateChainIndexOf Method |
Gets the index of the specified certificate within the chain.
Namespace: MimeKit.CryptographyAssembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax public int IndexOf(
X509Certificate certificate
)
Parameters
- certificate X509Certificate
- The certificate to get the index of.
Return Value
Int32The index of the specified certificate if found; otherwise
-1.
Implements
IListTIndexOf(T)Exceptions Remarks
Finds the index of the specified certificate, if it exists.
See Also