This documentation is archived and is not being maintained.

SymmetricAlgorithm.LegalKeySizesValue Field

Specifies the key sizes that are supported by the symmetric algorithm.

[Visual Basic]
Protected LegalKeySizesValue() As KeySizes
protected KeySizes[] LegalKeySizesValue;
protected: KeySizes* LegalKeySizesValue[];
protected var LegalKeySizesValue : KeySizes[];


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

This field is accessed through the LegalKeySizes property.


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