Upload FastSeekWpf/App.xaml.cs
Browse files- FastSeekWpf/App.xaml.cs +2 -2
FastSeekWpf/App.xaml.cs
CHANGED
|
@@ -162,13 +162,13 @@ public partial class App : Application
|
|
| 162 |
try
|
| 163 |
{
|
| 164 |
using var reader = new MftReader(drive);
|
| 165 |
-
var scan = reader.ScanAny();
|
| 166 |
|
| 167 |
if (scan.Records.Count > 0)
|
| 168 |
{
|
| 169 |
index.PopulateFromScan(scan, drive.Root);
|
| 170 |
totalRecords += scan.Records.Count;
|
| 171 |
-
PrintLine(ConsoleColor.Green, $" {drive.Letter}", $"{scan.Records.Count:N0} records");
|
| 172 |
}
|
| 173 |
else
|
| 174 |
{
|
|
|
|
| 162 |
try
|
| 163 |
{
|
| 164 |
using var reader = new MftReader(drive);
|
| 165 |
+
var (scan, method) = reader.ScanAny();
|
| 166 |
|
| 167 |
if (scan.Records.Count > 0)
|
| 168 |
{
|
| 169 |
index.PopulateFromScan(scan, drive.Root);
|
| 170 |
totalRecords += scan.Records.Count;
|
| 171 |
+
PrintLine(ConsoleColor.Green, $" {drive.Letter}", $"{scan.Records.Count:N0} records ({method})");
|
| 172 |
}
|
| 173 |
else
|
| 174 |
{
|