Class FileHasher
Generates hash checksums for files
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 |