The DataSourceManager type exposes the following members.
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.) |
See Also