Uredi

Deli z drugimi prek


RijndaelManaged.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 secret key used for the symmetric algorithm. The default is 256 bits.

Remarks

The valid key sizes for Rijndael are 128, 192 and 256 bits.

Applies to