SymmetricAlgorithm::Mode Property
.NET Framework (current version)
Gets or sets the mode for operation of the symmetric algorithm.
Assembly: mscorlib (in mscorlib.dll)
public: property CipherMode Mode { virtual CipherMode get(); virtual void set(CipherMode value); }
Property Value
Type: System.Security.Cryptography::CipherModeThe mode for operation of the symmetric algorithm. The default is CipherMode::CBC.
| Exception | Condition |
|---|---|
| CryptographicException | The cipher mode is not one of the CipherMode values. |
See CipherMode enumeration for a description of specific modes.
.NET Framework
Available since 1.1
Available since 1.1
Show: