CertificateStore Constructor
Creates a new certificate store in memory.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public CertificateStore()
Remarks
This overload is typically used for creating a store which can then be filled with one or more certificates and either saved to a file or passed to a method which accepts CertificateStore as a parameter. The latter case is useful when you need to notify a method about a store with some certificates in it but you do not already have such a store. For instance, you can call Validate(CertificateStore) method with extraStore parameter pointing to a store containing certificates of all certification authorities needed for validation. However, it's possible that some of these certificates reside in another store. Since you cannot pass two stores to Validate(CertificateStore) method, you should either create a persistent store containing all the certificates from the both stores, or combine them at runtime by creating a new memory store and then adding certificates from both stores to the memory store. The latter approach does not require permissions to create files or new registry entries (which would be needed for modifying persistent certificate stores which reside in files or Windows registry).
Note Note
In .NET Standard 2.0 edition and later, this constructor is no longer available (it's Win32-specific). Use CertificateStore(X509Store) instead.
See Also