CryptoServiceProviderGetKeyContainer Method
Gets the name of the key container.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 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