AesManaged.KeySize Property

 

Gets or sets the size, in bits, of the secret key used for the symmetric algorithm.

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

public override int KeySize { get; set; }

Property Value

Type: System.Int32

The size, in bits, of the key used by the symmetric algorithm.

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
Return to top
Show: