Export (0) Print
Expand All

ToBase64Transform.OutputBlockSize Property

Gets the output block size.

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

public int OutputBlockSize { get; }

Property Value

Type: System.Int32
The size of the output data blocks in bytes.

Implements

ICryptoTransform.OutputBlockSize

The output block size for this transformation is 4 bytes.

The following code example demonstrates how to call the OutputBlockSize property to create a new byte array with the size of the output block size. This code example is part of a larger example provided for the ToBase64Transform class.

byte[] outputBytes = new byte[base64Transform.OutputBlockSize];

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft