Share via


ComputeHash Method (Stream)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Computes the hash value for the specified Stream object.

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

Syntax

'Declaration
Public Function ComputeHash ( _
    inputStream As Stream _
) As Byte()
public byte[] ComputeHash(
    Stream inputStream
)
public:
array<unsigned char>^ ComputeHash(
    Stream^ inputStream
)
member ComputeHash : 
        inputStream:Stream -> byte[] 
public function ComputeHash(
    inputStream : Stream
) : byte[]

Parameters

Return Value

Type: array<System. . :: . .Byte> [] () [] []
The computed hash code.

.NET Framework Security

See Also

Reference

HashAlgorithm Class

ComputeHash Overload

System.Security.Cryptography Namespace