Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Discovering All Scanners – Example 1a

To discover all scanners on a network, use the function in Example 1a above:

...

 

Code Block
languagec#
themeRDark
Base IP Address: 192.168.1.105, CableId: 0, Serial Number: 374
Base IP Address: 192.168.1.150, CableId: 0, Serial Number: 1465
Base IP Address: 192.168.1.105, CableId: 22, Serial Number: 1941
Base IP Address: 192.168.1.105, CableId: 28, Serial Number: 1940
Base IP Address: 192.168.1.105, CableId: 30, Serial Number: 1747 
Querying for a specific scanner by CableId or Serial Number – Example 1b

If you want to query for a specific scanner, either by its CableId or serial number, use the second function above: 

...

 

Code Block
themeRDark
 Base IP Address: 192.168.1.150, CableId: 0, Serial Number: 1465  
Finding scanners by using specific criteria – Example 1c

You can also find scanners by using a delegate method of type ScannerResponseDelegate, which is called for each DiscoveryResponse received from the network. This is useful when you have specific criteria to build the list of scanners you want to address (e.g., all scanners on a specific subnet).

...