Share via


Mode Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the mode for operation of the symmetric algorithm.

Namespace:  System.Security.Cryptography
Assembly:  System.Security (in System.Security.dll)

Syntax

'Declaration
Public Overridable Property Mode As CipherMode
public virtual CipherMode Mode { get; set; }
public:
virtual property CipherMode Mode {
    CipherMode get ();
    void set (CipherMode value);
}
abstract Mode : CipherMode with get, set
override Mode : CipherMode with get, set
function get Mode () : CipherMode
function set Mode (value : CipherMode)

Property Value

Type: System.Security.Cryptography. . :: . .CipherMode
The mode for operation of the symmetric algorithm. The default is CipherMode.CBC.

.NET Framework Security

See Also

Reference

SymmetricAlgorithm Class

System.Security.Cryptography Namespace