Method DeviceSearch
DeviceSearch(out String[], Int32, FilterDeviceKind)
Searches for signature devices and returns their names.
Declaration
Error DeviceSearch(out string[] deviceNames, int guiOption, FilterDeviceKind DeviceFilter = FilterDeviceKind.dkStepOver)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | deviceNames | Names for the found devices. Null in case of error. |
System.Int32 | guiOption | Opens the popup window for device selection for the target frameworks net48, net5-windows. 0: no popup. 2: popup. |
FilterDeviceKind | DeviceFilter | Applies filter defined by enum FilterDeviceKind. |
Returns
Type | Description |
---|---|
Error | Error |