FileUtilsCalculateHash Method (Stream) |
Calculates the SHA-1 hash of a file content from a stream.
Namespace: PDTec.IceNet.Sdk.UtilsAssembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxpublic 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