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.
SymmetricAlgorithm::BlockSize Property
.NET Framework (current version)
Gets or sets the block size, in bits, of the cryptographic operation.
Assembly: mscorlib (in mscorlib.dll)
| Exception | Condition |
|---|---|
| CryptographicException | The block size is invalid. |
The block size is the basic unit of data that can be encrypted or decrypted in one operation. Messages longer than the block size are handled as successive blocks; messages shorter than the block size must be padded with extra bits to reach the size of a block. Valid block sizes are determined by the symmetric algorithm used.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: