Page 1 of 1
Determining the type of scanner driver (twain or wia)
Posted: Thu Mar 23, 2023 12:31 pm
by liauchukivan
Hi everybody!
I need help!!!
I get the scanner options. How can I explicitly determine that the device is twain or wia?
Re: Determining the type of scanner driver (twain or wia)
Posted: Thu Mar 23, 2023 2:44 pm
by Alex
Hi,
If you are using VintaSoft TWAIN .NET SDK in .NET application and you want to get a value indicating whether device uses WIA driver, you can use the
DeviceInfo.IsWIA property:
Code: Select all
Console.WriteLine(string.Format("Is WIA device: {0}", device.Info.IsWIA));
If you are using VintaSoft Web TWAIN service in JavaScript application and you want to get a value indicating whether device uses WIA driver, you can use the
WebTwainDeviceJS.get_IsWIA function:
Best regards, Alexander