SecurityHelper.GetSha1FromFile method

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

GetSha1FromFile(string)

Static

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

public static string GetSha1FromFile(string path)

Parameters

path String

The path of the file.

Returns

The hash as a 40-character hexadecimal number.