Method CalculateFile
CalculateFile(string)
Creates the hash for a file.
Declaration
public static RawHash CalculateFile(string filePath)
Parameters
Type | Name | Description |
---|---|---|
string | filePath | The file path. |
Returns
Type | Description |
---|---|
RawHash | Returns the hash of the file. |
CalculateFile<T>(string)
Creates the hash for a file.
Declaration
public static RawHash CalculateFile<T>(string filePath) where T : HashAlgorithm
Parameters
Type | Name | Description |
---|---|---|
string | filePath | The file path. |
Returns
Type | Description |
---|---|
RawHash | Returns the hash of the file. |
Type Parameters
Name | Description |
---|---|
T | The hash algorithm type. |