FileHashTask.

ComputeHash(string) Method

Summary

Calculates the file has for the given file path with the selected algorithm.

Syntax

protected byte[] ComputeHash(string filePath)

Parameters

Name Type Description
filePath string The full path to the file that should be hashed.

Return Value

Type Description
byte[] A byte array indicating the hash of the file.