Uredi

Deli z drugimi prek


AesCryptoServiceProvider.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

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

Exceptions

The cipher mode is not one of the CipherMode values.

Remarks

See CipherMode enumeration for a description of specific modes.

Applies to