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.3.0
Syntax
C#
public bool Contains(
	X509Certificate certificate
)

Parameters

certificate  X509Certificate
The certificate.

Return Value

Boolean

Field Value

Boolean
true if the specified certificate exists; otherwise

Field Value

Boolean
false.

Implements

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