VintaSoft Twain .NET SDK 15.5: Documentation for Web developer
In This Topic
Vintasoft Web TWAIN service (Windows edition)
In This Topic
VintaSoft Web TWAIN service (Windows edition) is the Windows service that provides Web API for accessing TWAIN/WIA/eSCL image scanners for all users of local computer.

VintaSoft Web TWAIN service (Windows edition) is a .NET Framework 4.7.2 application and it can be used on any Windows (Windows 11/10/8.1/8/7/Vista; Windows Server 2025/2022/2019/2016/2012/2008) computer with installed .NET Framework 4+.

VintaSoft Web TWAIN service (Windows edition) provides access to 64- and 32-bit TWAIN image scanners, 64-bit WIA image scanners, eSCL image scanners if service is installed on 64-bit computer.
VintaSoft Web TWAIN service (Windows edition) provides access to 32-bit TWAIN image scanners, 32-bit WIA image scanner, eSCL image scanners if service is installed on 32-bit computer.

VintaSoft Web TWAIN service (Windows edition) can be accessed via HTTPS protocol using URL "https://localhost:25329/api/VintasoftTwainApi" or via HTTP protocol using URL "http://localhost:25319/api/VintasoftTwainApi".
Network ports 25319 and 25329 can be changed during or after installation of VintaSoft Web TWAIN service.


1. Installation of Vintasoft Web TWAIN service (Windows edition) to a local Windows computer

For installing VintaSoft Web Twain service (Windows edition) to your Windows computer you need to do the following steps:

2. Uninstallation of Vintasoft Web TWAIN service (Windows edition) from a local Windows computer

For uninstalling VintaSoft Web Twain service (Windows edition) from your Windows computer you need to do the following steps:

3. Initialization of Vintasoft Web TWAIN service (Windows edition)

Vintasoft Web TWAIN service (Windows edition) has initialization file - "VintasoftWebTwainService.ini" file, which is located in the service folder.
"VintasoftWebTwainService.ini" file can contain the following settings:

4. Getting information about status of Vintasoft Web TWAIN service (Windows edition)

Vintasoft Web TWAIN service (Windows edition) consists from Windows service (VintaSoftWebTwainService.exe file), which manages the web TWAIN service, and from web TWAIN service (VintaSoftWebTwainService32.exe or VintaSoftWebTwainService64.exe file), which serves requests to TWAIN/eSCL image scanners.

Information about status of Windows service (VintaSoftWebTwainService.exe file) is saved into log-file "<ServiceInstallPath>\VintaSoft\Web TWAIN Service v15.5\log\VSWebTwainService.log".

Information about status of 32-bit web TWAIN service (VintaSoftWebTwainService32.exe file) is saved into log-file "C:\Users\%USERNAME%\AppData\Local\Temp\VSWebTwainService32.log".
Information about status of 64-bit web TWAIN service (VintaSoftWebTwainService64.exe file) is saved into log-file "C:\Users\%USERNAME%\AppData\Local\Temp\VSWebTwainService64.log".

Debug information about work with 32-bit TWAIN devices is saved into log-file "C:\Users\%USERNAME%\AppData\Local\Temp\VSWebTwainService32-debug.log" if TWAIN logging is enabled.
Debug information about work with 64-bit TWAIN devices is saved into log-file "C:\Users\%USERNAME%\AppData\Local\Temp\VSWebTwainService64-debug.log" if TWAIN logging is enabled.
Debug information about work with WIA devices is saved into log-file "C:\Users\%USERNAME%\AppData\Local\Temp\VSWebWiaService-debug.log" if TWAIN logging is enabled.
Debug information about work with eSCL devices is saved into log-file "C:\Users\%USERNAME%\AppData\Local\Temp\VSWebEsclService-debug.log" if TWAIN logging is enabled.



5. Troubleshooting

5.1 VintaSoft Web TWAIN service (Windows edition) is not available

If you have installed VintaSoft Web TWAIN service (Windows edition) to your Windows computer, but see the error message that service is not available, please open web page "https://localhost:25329/api/VintasoftTwainApi/Status" and see information about VintaSoft Web TWAIN service.
If web page is not available, please check that VintaSoft Web TWAIN service is installed on your Windows computer.
If web page is available but you see the connection warning from the web browser - you have problem with SSL certificate for "localhost" web site.
Please contact VintaSoft support team if you cannot solve the problem.

5.2. Problems with TWAIN image scanners

If you do not see the TWAIN image scanner in device list or TWAIN image scanner works not correctly, please do the following steps:
  1. Get the latest version of TWAIN driver for your image scanner from web site of image scanner manufacturer and re-install the TWAIN driver.
  2. Make sure you have the latest version of VintaSoft Web Twain service (Windows edition).
  3. If you still have the problem, please send information about your problem to our support team and we will try to help you.
    We need:
    • Snippet of your code. Working project which demonstrates the problem will be welcome.
    • Log-file generated by VintaSoft Web Twain service. Please read how to enable logging for VintaSoft Web Twain service (Windows edition) in "Initialization of Vintasoft Web TWAIN service" section above.

5.3. Problems with WIA image scanners

If you do not see the WIA image scanner in device list or WIA image scanner works not correctly, please do the following steps:
  1. Get the latest version of WIA driver for your image scanner from web site of image scanner manufacturer and re-install the WIA driver.
  2. Make sure you have the latest version of VintaSoft Web Twain service (Windows edition).
  3. If you still have the problem, please send information about your problem to our support team and we will try to help you.
    We need:
    • Snippet of your code. Working project which demonstrates the problem will be welcome.
    • Log-file generated by VintaSoft Web Twain service. Please read how to enable logging for VintaSoft Web Twain service (Windows edition) in "Initialization of Vintasoft Web TWAIN service" section above.

5.4. Problems with eSCL image scanners

If you do not see the eSCL image scanner in device list, please do the following steps:
  1. Get IP-address of your Windows computer, get IP-address of eSCL image scanner and make sure that both IP-address are belong to the same network.
  2. Try to use "ping" command to check the network connection with eSCL image scanner.

If you see the eSCL image scanner in device list but eSCL image scanner works not correctly, please do the following steps:
  1. Make sure you have the latest version of VintaSoft Web Twain service (Windows edition).
  2. If you still have the problem, please send information about your problem to our support team and we will try to help you.
    We need:
    • Snippet of your code. Working project which demonstrates the problem will be welcome.
    • Log-file generated by VintaSoft Web Twain service. Please read how to enable logging for VintaSoft Web Twain service (Windows edition) in "Initialization of Vintasoft Web TWAIN service" section above.