Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Computes the hash value for the specified region of the specified byte array.
Namespace: System.Security.Cryptography
Assembly: System.Security (in System.Security.dll)
Syntax
'Declaration
Public Function TransformFinalBlock ( _
inputBuffer As Byte(), _
inputOffset As Integer, _
inputCount As Integer _
) As Byte()
public byte[] TransformFinalBlock(
byte[] inputBuffer,
int inputOffset,
int inputCount
)
public:
virtual array<unsigned char>^ TransformFinalBlock(
array<unsigned char>^ inputBuffer,
int inputOffset,
int inputCount
) sealed
abstract TransformFinalBlock :
inputBuffer:byte[] *
inputOffset:int *
inputCount:int -> byte[]
override TransformFinalBlock :
inputBuffer:byte[] *
inputOffset:int *
inputCount:int -> byte[]
public final function TransformFinalBlock(
inputBuffer : byte[],
inputOffset : int,
inputCount : int
) : byte[]
Parameters
- inputBuffer
Type: array<System. . :: . .Byte> [] () [] []
The input to compute the hash code for.
- 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.
Return Value
Type: array<System. . :: . .Byte> [] () [] []
An array that is a copy of the part of the input that is hashed.
Implements
ICryptoTransform. . :: . .TransformFinalBlock(array<Byte> [] () [] [], Int32, Int32)
Remarks
You must call the TransformFinalBlock method after calling the TransformBlock method but before you retrieve the final hash value.
Note that the return value of this method is not the hash value, but only a copy of the hashed part of the input data. To retrieve the final hashed value after calling the TransformFinalBlock method, get the byte array contained in the Hash property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.