SmimeResetToDefaults Method
Resets S/MIME settings to default values.

Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public bool ResetToDefaults()

Return Value

Type: Boolean
true if succeeded; otherwise, false.
Exceptions
ExceptionCondition
MailBeeCryptoProviderWin32ExceptionFailed to create an instance of CryptoServiceProvider representing the default CSP and ThrowExceptions is true.
Remarks

This method reverts Provider property value back to the default CSP (Base).

The algorithm to use for encryption (EncryptionAlgorithm property) is set to RSA DES (szOID_RSA_DES_EDE3_CBC).

The algorithm to use for signing messages (HashAlgorithm property) is set to SHA1 (szOID_OIWSEC_sha1).

Examples
The example is available in CryptoServiceProvider topic.
See Also