Summary
Calculates the file has for the given file path with the selected algorithm.
- Namespace
- NBuildKit
.MsBuild .Tasks .FileSystem - Containing Type
- FileHashTask
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. |