| AspriseImagingScanListSources Method (Boolean, String, Boolean, Boolean) | 
            Retrieve list of sources (i.e., devices) optionally with caps; the default source has "default" set to true.
            
 
Namespace: asprise_imaging_apiAssembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic List<Source> ScanListSources(
	bool nameOnly,
	string capsToRetrieve,
	bool detectDeviceType,
	bool excludeTwainDsOnWia
)
Public Function ScanListSources ( 
	nameOnly As Boolean,
	capsToRetrieve As String,
	detectDeviceType As Boolean,
	excludeTwainDsOnWia As Boolean
) As List(Of Source)
public:
List<Source^>^ ScanListSources(
	bool nameOnly, 
	String^ capsToRetrieve, 
	bool detectDeviceType, 
	bool excludeTwainDsOnWia
)
member ScanListSources : 
        nameOnly : bool * 
        capsToRetrieve : string * 
        detectDeviceType : bool * 
        excludeTwainDsOnWia : bool -> List<Source> 
Parameters
- nameOnly
 - Type: SystemBoolean
if true, return source with name only otherwise return with capabilities info - capsToRetrieve
 - Type: SystemString
only effective if nameOnly is false - cap name or code separated by comma or 'all' to list all caps supported. - detectDeviceType
 - Type: SystemBoolean
detect whether the device has ADF and/or flatbed. - excludeTwainDsOnWia
 - Type: SystemBoolean
exclude WIA synthesized sources 
Return Value
Type: 
ListSource
See Also