KeySize Property
Collapse the table of content
Expand the table of content

AesManaged.KeySize Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

'Declaration
Public Overrides Property KeySize As Integer

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft