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 Advanced Demo" project 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 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfTwainAdvancedDemo" folder for getting VB.NET source codes for WPF application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\TwainAdvancedDemo" folder for getting C# source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\TwainAdvancedDemo" folder for getting VB.NET source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)

"TWAIN Simple Demo" project 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 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfTwainSimpleDemo" folder for getting VB.NET source codes for WPF application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\TwainSimpleDemo" folder for getting C# source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\TwainSimpleDemo" folder for getting VB.NET source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)

"TWAIN Custom UI Demo" project 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 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfTwainCustomUIDemo" folder for getting VB.NET source codes for WPF application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\TwainCustomUIDemo" folder for getting C# source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\TwainCustomUIDemo" folder for getting VB.NET source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)

"TWAIN File Transfer Demo" project 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 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfTwainFileTransferDemo" folder for getting VB.NET source codes for WPF application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\TwainFileTransferDemo" folder for getting C# source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\TwainFileTransferDemo" folder for getting VB.NET source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)

"TWAIN Extended Image Info Demo" project 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 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfTwainExtendedImageInfoDemo" folder for getting VB.NET source codes for WPF application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\TwainExtendedImageInfoDemo" folder for getting C# source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\TwainExtendedImageInfoDemo" folder for getting VB.NET source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)

"TWAIN Console Demo" project 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 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\Console\VB.NET\TwainConsoleDemo" folder for getting VB.NET source codes for console application (.NET 11/10/8 and .NET Framework 4+)

"WIA Image Scanning Console Demo" project shows how to acquire images from WIA image scanner in console application for Windows.

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\WiaImageScanningConsoleDemo" folder for getting C# source codes of console application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\Console\VB.NET\WiaImageScanningConsoleDemo" folder for getting VB.NET source codes of console application (.NET 11/10/8 and .NET Framework 4+)

"SANE Console Demo" project 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 11/10/8)
  • Open "[install_path]\Examples\Console\VB.NET\SaneConsoleDemo" folder for getting VB.NET source codes for console application (.NET 11/10/8)

"eSCL Image Scanning Console Demo" project shows how to acquire images from eSCL image scanner in 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\EsclImageScanningConsoleDemo" folder for getting C# source codes of console application (.NET 11/10/8)
  • Open "[install_path]\Examples\Console\VB.NET\EsclImageScanningConsoleDemo" folder for getting VB.NET source codes of console application (.NET 11/10/8)

"Image Scanning Demo" project shows how to acquire images from TWAIN/WIA/SANE/eSCL image scanner in desktop application for Windows and Linux. Demo project contains an interface that provides unified and simplified access to the TWAIN/WIA/SANE/eSCL image scanner. Project uses unified and simplified access to the TWAIN/WIA/SANE/eSCL image scanner.


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\WpfImageScanningDemo" folder for getting C# source codes for WPF application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WPF\VB.NET\WpfImageScanningDemo" folder for getting VB.NET source codes for WPF application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\CSharp\ImageScanningDemo" folder for getting C# source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\WinForms\VB.NET\ImageScanningDemo" folder for getting VB.NET source codes for WinForms application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\GtkSharp\CSharp\GtkImageScanningDemo" folder for getting C# source codes for GTK# application (.NET 11/10/8)

"Image Scanning Console Demo" project shows how to acquire images from TWAIN/WIA/SANE/eSCL image scanner in console application for Windows and Linux. Project uses unified and simplified access to the TWAIN/WIA/SANE/eSCL image scanner.

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\ImageScanningConsoleDemo" folder for getting C# source codes for console application (.NET 11/10/8 and .NET Framework 4+)
  • Open "[install_path]\Examples\Console\VB.NET\ImageScanningConsoleDemo" folder for getting VB.NET source codes for console application (.NET 11/10/8 and .NET Framework 4+)