Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the key sizes that are supported by the asymmetric algorithm.
Namespace: System.Security.Cryptography
Assembly: System.Security (in System.Security.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property LegalKeySizes As KeySizes()
public virtual KeySizes[] LegalKeySizes { get; }
public:
virtual property array<KeySizes^>^ LegalKeySizes {
array<KeySizes^>^ get ();
}
abstract LegalKeySizes : KeySizes[] with get
override LegalKeySizes : KeySizes[] with get
function get LegalKeySizes () : KeySizes[]
Property Value
Type: array<System.Security.Cryptography. . :: . .KeySizes> [] () [] []
An array that contains the key sizes supported by the asymmetric algorithm.
Remarks
The asymmetric algorithm supports only key sizes that match an entry in this array.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.