AesManaged.Mode Property

Definition

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

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

Property Value

One of the enumeration values that specifies the block cipher mode to use for encryption. The default is CBC.

Exceptions

Remarks

The CFB and OFB modes are not supported.

Applies to