SymmetricAlgorithm.Mode 属性

定义

获取或设置对称算法的运算模式。

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

属性值

CipherMode

对称算法的运算模式。 默认值为 CBC

例外

该密码模式不是 CipherMode 值之一。

注解

CipherMode有关特定模式的说明,请参阅枚举。

适用于

另请参阅