共用方式為


RijndaelManaged.LegalKeySizes 屬性

定義

取得對稱演算法所支援的金鑰大小,以位元為單位。

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()

屬性值

對稱演算法支援的金鑰大小,以位為單位。

備註

Rijndael 的有效密鑰大小為 128、192 和 256 位。

適用於