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

HashAlgorithm.ComputeHash Method (Stream)

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft