Table of Contents

Method GetHash

Namespace
Innova.Data.File
Assembly
Innova.Data.dll

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 Stream

The stream to compute the hash for.

hashAlgorithmName string

The name of the hash algorithm.

Returns

string

The computed hash value as a string.