mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 18:07:22 +01:00
remove dashes from bitconverter hash strings
This commit is contained in:
parent
3b9c485627
commit
a446b78834
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ namespace MareSynchronos.Factories
|
|||
private string GetHash(string filePath)
|
||||
{
|
||||
using SHA1CryptoServiceProvider cryptoProvider = new();
|
||||
return BitConverter.ToString(cryptoProvider.ComputeHash(File.ReadAllBytes(filePath)));
|
||||
return BitConverter.ToString(cryptoProvider.ComputeHash(File.ReadAllBytes(filePath))).Replace("-", "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue