VintaSoft Twain .NET SDK - Examples

Demo applications with source codes for C#, VB.NET and JavaScript

VintaSoft Twain .NET SDK comes with demo applications for WPF, WinForms, console, HTML + JavaScript, ASP.NET Core, ASP.NET Core + Angular, ASP.NET MVC5 and ASP.NET WebForms, which are demonstrating the general SDK features. The demo applications simplify the process of SDK functionality evaluation allowing quickly determine whether it suits your specific requirements.

Existing license holders can use the source code examples of demo applications as templates for their own applications.

Please see below the full list of demo applications offered for the SDK evaluation.

You have to download and install the SDK evaluation version to your computer if you want to run and test our demo applications.

Desktop
Web

TWAIN Console Demo shows how to acquire images from TWAIN scanner in a console application for Windows and Linux.


For getting the source codes of demo you need to do the following steps:

  • Download and install the evaluation version of SDK to your computer
  • Open "[install_path]\Examples\Console\CSharp\TwainConsoleDemo" folder for getting C# source codes for console application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\Console\VB.NET\TwainConsoleDemo" folder for getting VB.NET source codes for console application (.NET 8/7/6 and .NET Framework 4+)

TWAIN Simple Demo shows how to acquire images from TWAIN scanner in WinForms or WPF application.


For getting the source codes of demo you need to do the following steps:

  • Download and install the evaluation version of SDK to your computer
  • Open "[install_path]\Examples\WPF\CSharp\WpfTwainSimpleDemo" folder for getting C# source codes for WPF application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfTwainSimpleDemo" folder for getting VB.NET source codes for WPF application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\TwainSimpleDemo" folder for getting C# source codes for WinForms application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\TwainSimpleDemo" folder for getting VB.NET source codes for WinForms application (.NET 8/7/6 and .NET Framework 4+)

TWAIN Advanced Demo shows how to enumerate TWAIN scanners, get TWAIN scanner capabilities, acquire images from TWAIN scanner, process scanned images, save scanned images to a file or upload to HTTP(S) or FTP server.


For getting the source codes of demo you need to do the following steps:

  • Download and install the evaluation version of SDK to your computer
  • Open "[install_path]\Examples\WPF\CSharp\WpfTwainAdvancedDemo" folder for getting C# source codes for WPF application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfTwainAdvancedDemo" folder for getting VB.NET source codes for WPF application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\TwainAdvancedDemo" folder for getting C# source codes for WinForms application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\TwainAdvancedDemo" folder for getting VB.NET source codes for WinForms application (.NET 8/7/6 and .NET Framework 4+)

TWAIN Custom UI Demo shows how to acquire images from TWAIN scanner using customized (user-defined) user interface.


For getting the source codes of demo you need to do the following steps:

  • Download and install the evaluation version of SDK to your computer
  • Open "[install_path]\Examples\WPF\CSharp\WpfTwainCustomUIDemo" folder for getting C# source codes for WPF application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfTwainCustomUIDemo" folder for getting VB.NET source codes for WPF application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\TwainCustomUIDemo" folder for getting C# source codes for WinForms application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\TwainCustomUIDemo" folder for getting VB.NET source codes for WinForms application (.NET 8/7/6 and .NET Framework 4+)

TWAIN File Transfer Demo shows how to acquire images from TWAIN scanner and save acquired images directly to a disk.


For getting the source codes of demo you need to do the following steps:

  • Download and install the evaluation version of SDK to your computer
  • Open "[install_path]\Examples\WPF\CSharp\WpfTwainFileTransferDemo" folder for getting C# source codes for WPF application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfTwainFileTransferDemo" folder for getting VB.NET source codes for WPF application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\TwainFileTransferDemo" folder for getting C# source codes for WinForms application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\TwainFileTransferDemo" folder for getting VB.NET source codes for WinForms application (.NET 8/7/6 and .NET Framework 4+)

TWAIN Extended Image Info Demo shows how to get extended image information from TWAIN scanner about scanned image.


For getting the source codes of demo you need to do the following steps:

  • Download and install the evaluation version of SDK to your computer
  • Open "[install_path]\Examples\WPF\CSharp\WpfTwainExtendedImageInfoDemo" folder for getting C# source codes for WPF application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfTwainExtendedImageInfoDemo" folder for getting VB.NET source codes for WPF application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\TwainExtendedImageInfoDemo" folder for getting C# source codes for WinForms application (.NET 8/7/6 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\TwainExtendedImageInfoDemo" folder for getting VB.NET source codes for WinForms application (.NET 8/7/6 and .NET Framework 4+)

SANE Console Demo shows how to acquire images from SANE scanner in a console application for Linux.

For getting the source codes of demo you need to do the following steps:

  • Download and install the evaluation version of SDK to your computer
  • Open "[install_path]\Examples\Console\CSharp\SaneConsoleDemo" folder for getting C# source codes for console application (.NET 8/7/6)
  • Open "[install_path]\Examples\Console\VB.NET\SaneConsoleDemo" folder for getting VB.NET source codes for console application (.NET 8/7/6)