แก้ไข

แชร์ผ่าน


AesManaged.KeySize Property

Definition

Gets or sets the size, in bits, of the secret key used for the symmetric algorithm.

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

Property Value

The size, in bits, of the key used by the symmetric algorithm.

Remarks

The maximum size of the key is 256 bits.

Applies to