Resets S/MIME settings to default values.
true if succeeded; otherwise, false.
This method reverts Provider property value back to the default CSP (Base).
The algorithm to use for encryption (EncryptionAlgorithm property) is set to RC4.
The algorithm to use for signing messages (HashAlgorithm property) is set to SHA1.
| Exception Type | Condition |
|---|---|
| MailBeeCryptoProviderWin32Exception | Failed to create an instance of CryptoServiceProvider representing the default CSP and ThrowExceptions is true. |
The example is available in CryptoServiceProvider topic.
Smime Class | MailBee.Security Namespace