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 public static string CalculateHash(
Stream inputStream
)
Parameters
- inputStream
- Type: System.IOStream
The input stream.
Return Value
Type:
StringThe hash value.
Remarks
By calculating the hash the stream will be consumed.
See Also