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

SystemObject
  TwainScanningDataSourceManager

Namespace: TwainScanning
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.3.0.0 (1.3.0.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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyIdentity
Top
See Also

Reference

SystemIDisposable