ComputeHash Method (Stream)
Collapse the table of content
Expand the table of content

HashAlgorithm.ComputeHash Method (Stream)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Computes the hash value for the specified Stream object.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

public byte[] ComputeHash(
	Stream inputStream
)

Parameters

inputStream
Type: System.IO.Stream
The input to compute the hash code for.

Return Value

Type: System.Byte []
The computed hash code.

ExceptionCondition
ObjectDisposedException

The object has already been disposed.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft