SymmetricAlgorithm.Mode 屬性

定義

取得或設定對稱演算法的作業模式。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 virtual System.Security.Cryptography.CipherMode Mode { get; set; }
member this.Mode : System.Security.Cryptography.CipherMode with get, set
Public Overridable Property Mode As CipherMode

屬性值

對稱演算法的作業模式。The mode for operation of the symmetric algorithm. 預設值為 CBCThe default is CBC.

例外狀況

密碼模式不是其中一個 CipherMode 值。The cipher mode is not one of the CipherMode values.

備註

如需特定模式的說明,請參閱 CipherMode 列舉。See CipherMode enumeration for a description of specific modes.

適用於

另請參閱