This method retrieves information about the scan device currently being selected.

[Visual Basic] Public Function GetCurrentDataSource() As Newtone.ImageKit.WPF.DataSourceInformation
[C#] public Newtone.ImageKit.WPF.DataSourceInformation GetCurrentDataSource();

Return Value

The DataSourceInformation class (Returns null[C#] or Nothing[Visual Basic] if unsuccessful).

Explanation

The GetCurrentDataSource method retrieves information about the scan device currently being selected. If successful, information about the scan device is set in the following properties: Manufacturer, ProductFamily, ProductName, ProtocolMajor, ProtocolMinor, MajorVersion, MinorVersion, and Information of the DataSourceInformation class.

To execute the GetCurrentDataSource method, you must first execute the  Initialize method.

See Also

Scan Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation