ICryptoTransform::TransformFinalBlock Method (array<Byte>^, Int32, Int32)
.NET Framework (current version)
Transforms the specified region of the specified byte array.
Assembly: mscorlib (in mscorlib.dll)
array<unsigned char>^ TransformFinalBlock( array<unsigned char>^ inputBuffer, int inputOffset, int inputCount )
Parameters
- inputBuffer
-
Type:
array<System::Byte>^
The input for which to compute the transform.
- inputOffset
-
Type:
System::Int32
The offset into the byte array from which to begin using data.
- inputCount
-
Type:
System::Int32
The number of bytes in the byte array to use as data.
TransformFinalBlock is a special function for transforming the last block or a partial block in the stream. It returns a new array that contains the remaining transformed bytes. A new array is returned, because the amount of information returned at the end might be larger than a single block when padding is added.
.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: