This method retrieves information about the specified scan device, such as manufacturer, product name, etc.
[Visual Basic] Public Function GetDataSources()
As Newtone.ImageKit.DataSourceInformation()
[C#] public
Newtone.ImageKit.DataSourceInformation[] GetDataSources();
Return Value
Value is an array of the DataSourceInformation class. (Returns null [C#] or Nothing [Visual Basic] if unsuccessful).
Explanation
The GetDataSources method retrieves information about the specified scan device, such as manufacturer, product name, etc. If successful, the installed datasources (scan devices) are returned and the index of the current datasource is set in the CurrentIndex property.
To execute the GetDataSources method, you must first execute the Initialize method.