RegistryStoreLocation Enumeration
Defines branches of the Windows registry where the system certificate stores can reside.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public enum RegistryStoreLocation
  Member nameValueDescription
CurrentUser65536 The store resides in "HKEY_CURRENT_USER\Software\Microsoft\SystemCertificates" branch.
LocalMachine131072 The store resides in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates" branch.
Users393216 The store resides in "HKEY_USERS\.DEFAULT\Software\Microsoft\SystemCertificates" branch.

By default, MailBee uses system stores which reside in CurrentUser branch.

To open an existing system certificate store which resides in another branch of the registry, create CertificateStore object using CertificateStore(String, CertStoreType, String, CryptoServiceProvider, RegistryStoreLocation) constructor. To create a store in the registry, use RegisterSystemStore(String, RegistryStoreLocation) method.

See Also