Hi everybody!
I need help!!!
I get the scanner options. How can I explicitly determine that the device is twain or wia?
Determining the type of scanner driver (twain or wia)
Moderator: Alex
-
- Posts: 1
- Joined: Thu Mar 23, 2023 12:25 pm
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Determining the type of scanner driver (twain or wia)
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:
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
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));
Code: Select all
console.log(device.get_IsWIA());