Method GetHash
GetHash(Stream, string)
Computes the hash value for the specified stream using the specified hash algorithm.
public static string GetHash(this Stream stream, string hashAlgorithmName)
Parameters
streamStreamThe stream to compute the hash for.
hashAlgorithmNamestringThe name of the hash algorithm.
Returns
- string
The computed hash value as a string.