ICryptoTransform.TransformBlock Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.

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

Syntax

'Declaration
Function TransformBlock ( _
    inputBuffer As Byte(), _
    inputOffset As Integer, _
    inputCount As Integer, _
    outputBuffer As Byte(), _
    outputOffset As Integer _
) As Integer
int TransformBlock(
    byte[] inputBuffer,
    int inputOffset,
    int inputCount,
    byte[] outputBuffer,
    int outputOffset
)

Parameters

  • inputBuffer
    Type: array<System.Byte[]
    The input for which to compute the transform.
  • inputOffset
    Type: System.Int32
    The offset into the input byte array from which to begin using data.
  • inputCount
    Type: System.Int32
    The number of bytes in the input byte array to use as data.
  • outputBuffer
    Type: array<System.Byte[]
    The output to which to write the transform.
  • outputOffset
    Type: System.Int32
    The offset into the output byte array from which to begin writing data.

Return Value

Type: System.Int32
The number of bytes written.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.