System.Security.Cryptography.HashAlgorithm.Create Method

Creates an instance of the specified implementation of a hash algorithm.

Syntax

public static HashAlgorithm Create (string hashName)

Parameters

hashName
The hash algorithm implementation to use. The following table shows the valid values for the hashName parameter and the algorithms they map to.

Returns

A new instance of the specified hash algorithm, or null if hashName is not a valid hash algorithm.

Remarks

Documentation for this section has not yet been entered.

Requirements

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