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
stream
StreamThe stream to compute the hash for.
hashAlgorithmName
stringThe name of the hash algorithm.
Returns
- string
The computed hash value as a string.