ToBase64Transform::OutputBlockSize Property

 

Gets the output block size.

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

public:
property int OutputBlockSize {
	virtual int get() sealed;
}

Property Value

Type: System::Int32

The size of the output data blocks in bytes.

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.

array<Byte>^outputBytes = gcnew array<Byte>(
   base64Transform->OutputBlockSize);

.NET Framework
Available since 1.1
Return to top
Show: