MailBee.NET Objects 4.0

Smime.Provider Property

Gets or sets the CSP to be used for cryptographic operations.

public CryptoServiceProvider Provider {get; set;}

Property Value

A reference to CryptoServiceProvider object representing the CSP to be used for cryptographic operations. The default CSP is Base.

Remarks

This property is for advanced use. Most applications do not need to change the default CSP.

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException value is a null reference (Nothing in Visual Basic).

Example

The example is available in CryptoServiceProvider topic.

See Also

Smime Class | MailBee.Security Namespace | CryptoServiceProvider | ResetToDefaults