CertificateCollectionFromX509Certificate2Collection Method
Initializes CertificateCollection from the existing X509Certificate2Collection.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public static CertificateCollection FromX509Certificate2Collection(
	X509Certificate2Collection x509Cert2Collection
)

Parameters

x509Cert2Collection
Type: System.Security.Cryptography.X509CertificatesX509Certificate2Collection
The source X509Certificate2Collection collection of the certificates.

Return Value

Type: CertificateCollection
The CertificateCollection which contains all the certificates from x509Cert2Collection.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionx509Cert2Collection is a null reference (Nothing in Visual Basic).
Remarks
It's a helper method.
See Also