This documentation is archived and is not being maintained.

SymmetricAlgorithm.KeySizeValue Field

Represents the size of the secret key used by the symmetric algorithm in bits.

[Visual Basic]
Protected KeySizeValue As Integer
protected int KeySizeValue;
protected: int KeySizeValue;
protected var KeySizeValue : int;


The valid key sizes are specified by the particular symmetric algorithm implementation and are listed in LegalKeySizes.

This field is accessed through the KeySize 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