Add support to force managed checksums only.

This commit is contained in:
2021-10-13 21:50:11 +01:00
parent d8495ba2b8
commit a1594e77aa

View File

@@ -7,10 +7,15 @@ namespace Aaru6.Checksums
static bool _checked; static bool _checked;
static bool _supported; static bool _supported;
public static bool ForceManaged { get; set; }
public static bool IsSupported public static bool IsSupported
{ {
get get
{ {
if(ForceManaged)
return false;
if(_checked) if(_checked)
return _supported; return _supported;