VintaSoft Twain .NET SDK Discussions

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Determining the type of scanner driver (twain or wia)



Determining the type of scanner driver (twain or wia)

Post 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)

Post 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:
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:
console.log(device.get_IsWIA());
Best regards, Alexander


Page 1 from 1: 1