CryptoServiceProvider Constructor (String)
Creates a new instance of CryptoServiceProvider class.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public CryptoServiceProvider(
	string name
)

Parameters

name
Type: SystemString
The name of the Cryptographic Service Provider to be represented by this instance.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionname is a null reference (Nothing in Visual Basic).
MailBeeCryptoProviderWin32ExceptionAn error occurred and ThrowExceptions is true.
Remarks
CryptoServiceProvider class provides several string constants which contain names of most widely used CSPs: GetSystemProviders method can be used to obtain the list of all CSPs supported by the operating system.
See Also