X509Certificate ChainCopy To Method
Copy all of the certificates in the chain to the specified array.
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 CopyTo(
X509Certificate[] array,
int arrayIndex
)Parameters
- array X509Certificate
- The array to copy the certificates to.
- arrayIndex Int32
- The index into the array.
Implements
ICollectionTCopyTo(T, Int32)Remarks
Copies all of the certificates within the chain into the array,
starting at the specified array index.
Exceptions
| ArgumentNullException | array is . |
| ArgumentOutOfRangeException | arrayIndex is out of range. |