Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ICryptoTransform Interface

Defines the basic operations of cryptographic transformations.

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

[ComVisibleAttribute(true)]
public interface ICryptoTransform : IDisposable

The ICryptoTransform type exposes the following members.

  NameDescription
Public propertyCanReuseTransformGets a value indicating whether the current transform can be reused.
Public propertyCanTransformMultipleBlocksGets a value indicating whether multiple blocks can be transformed.
Public propertyInputBlockSizeGets the input block size.
Public propertyOutputBlockSizeGets the output block size.
Top

  NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodTransformBlockTransforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.
Public methodTransformFinalBlockTransforms the specified region of the specified byte array.
Top

Hash algorithms are an example of cryptographic transformations (HashAlgorithm).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft