DataSourceManager (DSM) represent entry point.
Inheritance Hierarchy
TwainScanningDataSourceManager
Namespace: TwainScanning
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.4.3.0 (1.4.3.0)
Syntax
The DataSourceManager type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DataSourceManager(IntPtr, AppInfo) |
Initializes a new instance of the DataSourceManager class.
It opens DSM (Data Source Manager) in this constructor. If it fails to open it throws.
| |
| DataSourceManager(Form, AppInfo) |
Initializes a new instance of the DataSourceManager class.
It opens DSM (Data Source Manager) in this constructor. If it fails to open it throws.
|
Methods
| Name | Description | |
|---|---|---|
| AvailableSources |
Returns a collection of TWAIN devices available in the system. TwIdentity | |
| DefaultSource |
Returns TwIdentity of default source (Device).
| |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources...
| |
| Equals | (Inherited from Object.) | |
| Finalize | (Overrides ObjectFinalize.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| OpenSource |
Opens default device.
| |
| OpenSource(String) |
Opens device by name.
| |
| OpenSource(TwIdentity) |
Opens source that is represented with TwIdentity.
| |
| SelectDefaultSourceDlg |
Shows standard TWAIN dialog for selecting default source. Selected source is set as default source.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Identity |
See Also
Reference
SystemIDisposable