Class FileHasher
Generates hash checksums for files
Inheritance
object
FileHasher
Implements
Namespace: i5.Toolkit.Core.Caching
Assembly: cs.temp.dll.dll
Syntax
public class FileHasher : IFileHasher
Properties
FileAccessor
Declaration
public IFileAccessor FileAccessor { get; set; }
Property Value
Type | Description |
---|---|
IFileAccessor |
Methods
CalculateMD5Hash(string)
Calculates a hash for the given file using MD5
Declaration
public string CalculateMD5Hash(string filePath)
Parameters
Type | Name | Description |
---|---|---|
string | filePath | The path to the file |
Returns
Type | Description |
---|---|
string | Returns the MD5 hash of the given file |