Click or drag to resize
MimeKit

X509CertificateChainContains Method

Checks if the chain contains the specified certificate.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntax
C#
public bool Contains(
	X509Certificate certificate
)

Parameters

certificate  X509Certificate
The certificate.

Return Value

Boolean
if the specified certificate exists; otherwise, .

Implements

ICollectionTContains(T)
Exceptions
ExceptionCondition
ArgumentNullExceptioncertificate is .
Remarks
Determines whether the certificate chain contains the specified certificate.
See Also