CertificateStoreRegisterSystemStore Method
Registers a new system certificate store.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public static void RegisterSystemStore(
	string name,
	RegistryStoreLocation registryLocation
)

Parameters

name
Type: SystemString
The system store name.
registryLocation
Type: MailBee.SecurityRegistryStoreLocation
The store location in the registry.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionname is a null reference (Nothing in Visual Basic).
MailBeeCertificateStoreWin32ExceptionWin32 returned an error on attempt to register a store.
Remarks
Use this method to create your own system stores.
Note Note
This method is not available in .NET Standard 2.0 edition and newer (because it relies on Win32 API).
Examples
The example is available in AddCertificate(Certificate, Boolean) topic.
See Also