DataSourceManager Constructor (Form, AppInfo)Terminal Works - TwainScanning.Net Library
Initializes a new instance of the DataSourceManager class. It opens DSM (Data Source Manager) in this constructor. If it fails to open it throws.

Namespace: TwainScanning
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax

public DataSourceManager(
	Form frm = null,
	AppInfo info = null
)

Parameters

frm (Optional)
Type: System.Windows.FormsForm
The aplication's form. For console applications use null.
info (Optional)
Type: TwainScanningAppInfo
The information about application. If null defaults will be used.
Exceptions

ExceptionCondition
BadRcTwainException
Remarks

Multiple device can be opened by calling OpenSource on dataSourceManager several times with different device name.
See Also

Reference