SymmetricAlgorithm.Mode Property


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

 virtual property System::Security::Cryptography::CipherMode Mode { System::Security::Cryptography::CipherMode get(); void set(System::Security::Cryptography::CipherMode value); };
public virtual System.Security.Cryptography.CipherMode Mode { get; set; }
member this.Mode : System.Security.Cryptography.CipherMode with get, set
Public Overridable Property Mode As CipherMode

Property Value

The mode for operation of the symmetric algorithm. The default is CBC.


The cipher mode is not one of the CipherMode values.


See CipherMode enumeration for a description of specific modes.

Applies to

See also