LegalBlockSizes Property
Collapse the table of content
Expand the table of content

SymmetricAlgorithm.LegalBlockSizes Property

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

Gets the block sizes, in bits, that are supported by the symmetric algorithm.

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

'Declaration
Public Overridable ReadOnly Property LegalBlockSizes As KeySizes()

Property Value

Type: System.Security.Cryptography.KeySizes ()
An array that contains the block sizes supported by the algorithm.

The symmetric algorithm supports only block sizes that match an entry in this array.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft