SecurityUtils.GetSha256HashFromFile method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Security
Assembly Skybrud.Essentials.dll

GetSha256HashFromFile(string)

Static

Gets the SHA256 hash of the file specified by the path. The hash is a 64-character hexadecimal number.

public static string GetSha256HashFromFile(string path)

Parameters

path String

The path of the file.

Returns

The hash as a 64-character hexadecimal number.