ToBase64Transform.InputBlockSize Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the input block size.

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

public int InputBlockSize { get; }

Property Value

Type: System.Int32

The size of the input data blocks in bytes.

The input block size for this transformation is 3 bytes.

The following code example demonstrates how to call the InputBlockSize property to retrieve the input block size of the current transform. This code example is part of a larger example provided for the ToBase64Transform class.

int inputBlockSize = base64Transform.InputBlockSize;

.NET Framework
Available since 1.1
Return to top