A wrapper for WIA scanners
Working sample code in WIA Test WPF project.
Create a new WiaManager class, and listen to device insert/delete events.
Get a scanner's id by using WiaManager.GetDevices, or manually select a scanner in WIA GUI by WiaManager.ShowSelectDevice.
Call the WiaManager.Scan method.
You must provide a scanner id. Additional ScanSettings parameter could be optional.