This documentation is archived and is not being maintained.

SymmetricAlgorithm.LegalBlockSizes Property

Gets the block sizes that are supported by the symmetric algorithm.

[Visual Basic]
Public Overridable ReadOnly Property LegalBlockSizes As KeySizes ()
public virtual KeySizes[] LegalBlockSizes {get;}
public: __property virtual KeySizes* get_LegalBlockSizes();
public function get LegalBlockSizes() : KeySizes[];

Property Value

An array containing the block sizes supported by the algorithm.


Only block sizes that match an entry in this array are supported by the symmetric algorithm.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SymmetricAlgorithm Class | SymmetricAlgorithm Members | System.Security.Cryptography Namespace | Cryptographic Services