DataSourceManager Constructor (IntPtr, 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(
	IntPtr handle,
	AppInfo info = null
)

Parameters

handle
Type: SystemIntPtr
Handle to the application's window. For console applications use Zero.
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