CryptoServiceProviderGetKeyContainer Method
Gets the name of the key container.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public string GetKeyContainer()

Return Value

Type: String
The key container string of the CSP if succeeded; otherwise, a null reference (Nothing in Visual Basic).
Exceptions
ExceptionCondition
MailBeeCryptoProviderWin32ExceptionAn error occurred and ThrowExceptions is true.
Remarks
The name of the current user is usually used as a key container name.
Examples
The example is available in CryptoServiceProvider topic.
See Also