Update HelloWorldSample

This commit is contained in:
Ben Olden-Cooligan 2023-04-22 11:51:13 -07:00
parent 4937dd6730
commit 6348be6dc6

View File

@ -15,11 +15,8 @@ public class HelloWorldSample
ScanDevice device = (await controller.GetDeviceList()).First();
var options = new ScanOptions { Device = device };
await foreach (var image in controller.Scan(options))
{
using (image)
{
Console.WriteLine("Scanned a page!");
}
}
}
}