LegalKeySizes Property

AsymmetricAlgorithm.LegalKeySizes Property

Gets the key sizes that are supported by the asymmetric algorithm.

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

Property Value

An array containing the key sizes supported by the algorithm.


Only key sizes that match an entry in this array are supported by the asymmetric 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

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

© 2015 Microsoft