Click or drag to resize

FileUtilsCalculateHash Method (Stream)

Calculates the SHA-1 hash of a file content from a stream.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static string CalculateHash(
	Stream inputStream
)

Parameters

inputStream
Type: System.IOStream
The input stream.

Return Value

Type: String
The hash value.
Remarks
By calculating the hash the stream will be consumed.
See Also