Interface IHashGenerator
Generate hash value using pre-installed algorithm
Namespace: BuildSystem.ManagerObject.Interfaces
Assembly: BuildSystem.ManagerObject.Interfaces.dll
Syntax
public interface IHashGenerator : IManager
Properties
HashAlgorithmType
Algorithm of generating hash value for a single value
Declaration
HashAlgorithmType HashAlgorithmType { get; }
Property Value
Type | Description |
---|---|
HashAlgorithmType |
Methods
GenerateHash(List<string>)
Generate hash value
Declaration
string GenerateHash(List<string> paths)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<><string> | paths | List of paths to files |
Returns
Type | Description |
---|---|
string | Result of hash value for the list |
GenerateHash(string)
Generate hash value
Declaration
string GenerateHash(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | Path to file |
Returns
Type | Description |
---|---|
string | Result of hash value for the file |