KeySizes.MaxSize Property

 

Specifies the maximum key size in bits.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public int MaxSize { get; }

Property Value

Type: System.Int32

The maximum key size in bits.

The following code shows how to retrieve the use of the MaxSize property. This code example is part of a larger example provided for the KeySizes class.

int maxKeySize = firstKeySize.MaxSize;

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: