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.
AesManaged::KeySize Property
.NET Framework (current version)
Gets or sets the size, in bits, of the secret key used for the symmetric algorithm.
Assembly: System.Core (in System.Core.dll)
public: property int KeySize { virtual int get() override; virtual void set(int value) override; }
The maximum size of the key is 256 bits.
.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.5
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: