Export (0) Print
Expand All

RijndaelManagedTransform.TransformFinalBlock Method

Computes the transformation for the specified region of the specified byte array.

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

public byte[] TransformFinalBlock (
	byte[] inputBuffer,
	int inputOffset,
	int inputCount
)
public final byte[] TransformFinalBlock (
	byte[] inputBuffer, 
	int inputOffset, 
	int inputCount
)
public final function TransformFinalBlock (
	inputBuffer : byte[], 
	inputOffset : int, 
	inputCount : int
) : byte[]
Not applicable.

Parameters

inputBuffer

The input to perform the operation on.

inputOffset

The offset into the byte array to begin using data from.

inputCount

The number of bytes in the byte array to use as data.

Return Value

The computed transformation.

Exception typeCondition

ArgumentNullException

The inputBuffer parameter is a null reference (Nothing in Visual Basic).

ArgumentException

The value of the inputCount parameter is less than 0.

-or-

The value of the inputCount parameter is grater than the length of inputBuffer parameter.

ArgumentOutOfRangeException

The value of the inputOffset parameter is negative.

CryptographicException

The length of the inputCount parameter is not evenly devisable by input block size.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2015 Microsoft