HashAlgorithm.ComputeHash Method (Stream)
Computes the hash value for the specified Stream object.
Assembly: mscorlib (in mscorlib.dll)
The size of the hash value depends on the hash algorithm it is computed for. For example, the size of the hash for the HMACSHA384 algorithm is 384 bits, and the size of the hash for the HMACSHA256 algorithm is 256 bits. You can obtain the size of the hash in bits by calling the HashSize property. For more information about hash codes, see Ensuring Data Integrity with Hash Codes.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.