@@ -1041,7 +1041,7 @@ protected virtual ConfiguredTaskAwaitable<byte[]> GetCryptoHashAsync<T>(
10411041 Hash . GetCryptoHashAsync < T > ( fileInfo ,
10421042 hmacKey ,
10431043 read => UpdateHashReadProgress ( read , updateProgress , updateTotalProgress ) ,
1044- fileInfo is { Exists : true , Length : > 100 << 20 } ,
1044+ fileInfo is { Exists : true , Length : > 1024 << 20 } ,
10451045 token ) ;
10461046
10471047 protected virtual ConfiguredTaskAwaitable < byte [ ] > GetCryptoHashAsync < T > (
@@ -1054,7 +1054,7 @@ protected virtual ConfiguredTaskAwaitable<byte[]> GetCryptoHashAsync<T>(
10541054 Hash . GetCryptoHashAsync < T > ( stream ,
10551055 hmacKey ,
10561056 read => UpdateHashReadProgress ( read , updateProgress , updateTotalProgress ) ,
1057- stream is { Length : > 100 << 20 } ,
1057+ stream is { Length : > 1024 << 20 } ,
10581058 token ) ;
10591059
10601060 protected virtual byte [ ] GetCryptoHash < T > (
@@ -1112,7 +1112,7 @@ protected virtual ConfiguredTaskAwaitable<byte[]> GetHashAsync<T>(
11121112 where T : NonCryptographicHashAlgorithm , new ( ) =>
11131113 Hash . GetHashAsync < T > ( fileInfo ,
11141114 read => UpdateHashReadProgress ( read , updateProgress , updateTotalProgress ) ,
1115- fileInfo is { Exists : true , Length : > 100 << 20 } ,
1115+ fileInfo is { Exists : true , Length : > 1024 << 20 } ,
11161116 token ) ;
11171117
11181118 protected virtual ConfiguredTaskAwaitable < byte [ ] > GetHashAsync < T > (
@@ -1123,7 +1123,7 @@ protected virtual ConfiguredTaskAwaitable<byte[]> GetHashAsync<T>(
11231123 where T : NonCryptographicHashAlgorithm , new ( ) =>
11241124 Hash . GetHashAsync < T > ( stream ,
11251125 read => UpdateHashReadProgress ( read , updateProgress , updateTotalProgress ) ,
1126- stream is { Length : > 100 << 20 } ,
1126+ stream is { Length : > 1024 << 20 } ,
11271127 token ) ;
11281128
11291129 protected virtual byte [ ] GetHash < T > (
0 commit comments