This method retrieves information about the scan device currently being selected.
[Visual Basic] Public Function
GetCurrentDataSource() As
Newtone.ImageKit.DataSourceInformation
[C#] public
Newtone.ImageKit.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.