SymmetricAlgorithm.KeySize SymmetricAlgorithm.KeySize SymmetricAlgorithm.KeySize SymmetricAlgorithm.KeySize Property

定义

获取或设置对称算法所用密钥的大小(以位为单位)。Gets or sets the size, in bits, of the secret key used by the symmetric algorithm.

public:
 virtual property int KeySize { int get(); void set(int value); };
public virtual int KeySize { get; set; }
member this.KeySize : int with get, set
Public Overridable Property KeySize As Integer

属性值

对称算法所用密钥的大小(以位为单位)。The size, in bits, of the secret key used by the symmetric algorithm.

异常

注解

有效密钥大小由特定的对称算法实现指定,并在LegalKeySizes属性中列出。The valid key sizes are specified by the particular symmetric algorithm implementation and are listed in the LegalKeySizes property.

适用于

另请参阅