System.Security.Cryptography.HashAlgorithm.CanTransformMultipleBlocks Property

When overridden in a derived class, gets a value indicating whether multiple blocks can be transformed.

Syntax

public virtual bool CanTransformMultipleBlocks { get; }

Value

True if a single call to either HashAlgorithm.TransformBlock or HashAlgorithm.TransformFinalBlock can process more than one block at the time. False if the data must be processed block per block.

Remarks

You should never assume that a specific algorithm can transform multiple blocks without checking this property. A cryptographic implementation can be changed by modifying the machine.config file and by using, directly or indirectly, the System.Security.Cryptography.CryptoConfig class. The new implementation could behave differently than the old one.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0