X509Certificate ChainInsert Method
Insert a certificate at the specified index.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public void Insert(
int index,
X509Certificate certificate
)Parameters
- index Int32
- The index to insert the certificate.
- certificate X509Certificate
- The certificate.
Implements
IListTInsert(Int32, T)Remarks
Inserts the certificate at the specified index in the certificates.
Exceptions
| ArgumentNullException | certificate is . |
| ArgumentOutOfRangeException | index is out of range. |