System.Security.Cryptography.HashAlgorithm.CanReuseTransform Property

Gets a value indicating whether the current transform can be reused.

Syntax

public virtual bool CanReuseTransform { get; }

Value

True if the transform can be reused by calling HashAlgorithm.Initialize. False if a new transform must be created for a new operation.

Remarks

You should never assume that a specific algorithm can be reused 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