Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

KeySizes::MaxSize Property

 

Specifies the maximum key size in bits.

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

public:
property int MaxSize {
	int 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:
© 2017 Microsoft