mirror of
https://github.com/aaru-dps/AaruBenchmark.git
synced 2025-12-16 19:24:36 +00:00
Add support to force managed checksums only.
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user