DataSourceManager ClassTerminal Works - TwainScanning.Net Library
DataSourceManager (DSM) represent entry point.
Inheritance Hierarchy

SystemObject
  TwainScanningDataSourceManager

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

public class DataSourceManager : IDisposable

The DataSourceManager type exposes the following members.

Constructors

  NameDescription
Public methodDataSourceManager(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.
Public methodDataSourceManager(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.
Top
Methods

  NameDescription
Public methodAvailableSources
Returns a collection of TWAIN devices available in the system. TwIdentity
Public methodDefaultSource
Returns TwIdentity of default source (Device).
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources...
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOpenSource
Opens default device.
Public methodOpenSource(String)
Opens device by name.
Public methodOpenSource(TwIdentity)
Opens source that is represented with TwIdentity.
Public methodSelectDefaultSourceDlg
Shows standard TWAIN dialog for selecting default source. Selected source is set as default source.
Public methodToString (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyIdentity
Top
See Also

Reference

SystemIDisposable