Rediger

Del via


RijndaelManaged.LegalKeySizes Property

Definition

Gets the key sizes, in bits, that are supported by the symmetric algorithm.

public:
 virtual property cli::array <System::Security::Cryptography::KeySizes ^> ^ LegalKeySizes { cli::array <System::Security::Cryptography::KeySizes ^> ^ get(); };
public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get; }
member this.LegalKeySizes : System.Security.Cryptography.KeySizes[]
Public Overrides ReadOnly Property LegalKeySizes As KeySizes()

Property Value

The key sizes, in bits, that are supported by the symmetric algorithm.

Remarks

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

Applies to