X509Certificate ChainItem Property
Get or set the certificate at the specified index.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
The internet certificate at the specified index.
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public X509Certificate this[
int index
] { get; set; }Parameters
- index Int32
- The index of the certificate to get or set.
Property Value
X509CertificateThe internet certificate at the specified index.
Implements
IListTItemInt32Remarks
Gets or sets the certificate at the specified index.
Exceptions
| ArgumentNullException | value is . |
| ArgumentOutOfRangeException | index is out of range. |