AesManaged.LegalBlockSizes AesManaged.LegalBlockSizes AesManaged.LegalBlockSizes AesManaged.LegalBlockSizes Property

Definition

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

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

Property Value

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

Remarks

The only valid block size for AES is 128 bits.

Applies to