mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-09 01:52:32 +02:00
v2.13.2
- (Upgrade) AvaloniaUI from 0.10.5 to 0.10.6 - (Add) Pixel editor - Text: Allow multi-line text and line alignment modes
This commit is contained in:
@@ -13,10 +13,8 @@ namespace UVtools.Core.Objects
|
||||
// Compute the file's hash.
|
||||
public static byte[] GetHashSha256(string filename)
|
||||
{
|
||||
using (var stream = File.OpenRead(filename))
|
||||
{
|
||||
return Sha256.ComputeHash(stream);
|
||||
}
|
||||
using var stream = File.OpenRead(filename);
|
||||
return Sha256.ComputeHash(stream);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user