DataSourceManager (DSM) represent entry point.
Inheritance Hierarchy
TwainScanningDataSourceManager
Namespace: TwainScanning
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.3.0.0 (1.3.0.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 | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | (Overrides ObjectFinalize.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (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 | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Identity |
See Also
Reference
SystemIDisposable