Accusoft.TwainPro9.Net
Select the DSM Version

The DataSourceManagerVersion property allows you to set the Data Source Manager version that TwainPro will use. The DSM is a DLL provided by TWAIN that lives between the Data Source (Scanner) and the Application (TwainPro) and manages the data and communications between the two.

When set to Version 2, the file TWAINDSM.dll is used:

Also, TwainPro internally identifies itself as a 2.0 TWAIN application to the Data Source.

When set to Version 1, the file twain_32.dll is used:

Also, TwainPro internally identifies itself as a 1.9 TWAIN application to the Data Source.

When set to LatestSupportedVersionAvailable:

TwainPro attempts to use Version 2 of the DSM, if this fails it will attempt to use Version 1 of the DSM.  If that fails then a TwainDllLoadException will be thrown indicating no version could be found.  By default the DataSourceManagerVersion property is set to LatestSupportedVersionAvailable.

DataSourceManagerVersionInUse is a read-only property that can be queried to find out the current DSM version that's currently in use by TwainPro. 

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback