Overload List

  NameDescription
SubnetSearch(String)
Sends a discovery packet to the IPs specified in the subnetRange.
Subnet searches are defined by the first three subnet octets, followed by a range, such as 192.168.2.*
This method accepts IP addresses of the form, assuming a subnet of 192.168.2:
  • 192.168.2.254 (will send a discovery packet to 192.168.2.254)
  • 192.168.2.* (will send a discovery packet for the range 192.168.2.1 - 192.168.2.254)
  • 192.168.2.8-* (will send a discovery packet for the range 192.168.2.8 - 192.168.2.254)
  • 192.168.2.37-42 (will send a discovery packet for the range 192.168.2.37 - 192.168.2.42)
SubnetSearch(String, Int32)
Sends a discovery packet to the IPs specified in the subnetRange. This method will wait up to initialWaitForResponses milliseconds for the first discovery packet response before timing out.
Subnet searches are defined by the first three subnet octets, followed by a range, such as 192.168.2.*
This method accepts IP addresses of the form, assuming a subnet of 192.168.2:
  • 192.168.2.254 (will send a discovery packet to 192.168.2.254)
  • 192.168.2.* (will send a discovery packet for the range 192.168.2.1 - 192.168.2.254)
  • 192.168.2.8-* (will send a discovery packet for the range 192.168.2.8 - 192.168.2.254)
  • 192.168.2.37-42 (will send a discovery packet for the range 192.168.2.37 - 192.168.2.42)
SubnetSearch(DiscoveryHandler, String)
Sends a discovery packet to the IPs specified in the subnetRange.
Subnet searches are defined by the first three subnet octets, followed by a range, such as 192.168.2.*
This method accepts IP addresses of the form, assuming a subnet of 192.168.2:
  • 192.168.2.254 (will send a discovery packet to 192.168.2.254)
  • 192.168.2.* (will send a discovery packet for the range 192.168.2.1 - 192.168.2.254)
  • 192.168.2.8-* (will send a discovery packet for the range 192.168.2.8 - 192.168.2.254)
  • 192.168.2.37-42 (will send a discovery packet for the range 192.168.2.37 - 192.168.2.42)
This method will invoke the DiscoveryHandler.FoundPrinter(DiscoveredPrinter) method for each printer that is found during discovery. DiscoveryHandler.DiscoveryFinished() will be invoked when the discovery is finished and DiscoveryHandler.DiscoveryError(String) will be invoked when any errors are encountered during discovery. When DiscoveryHandler.DiscoveryError(String) is invoked, the discovery will be canceled and DiscoveryHandler.DiscoveryFinished() will not be invoked. If a printer responds to the discovery request more than once, the DiscoveryHandler.FoundPrinter(DiscoveredPrinter) method will only be invoked on the first occurrence.
SubnetSearch(DiscoveryHandler, String, Int32)
Sends a discovery packet to the IPs specified in the subnetRange. This method will wait up to initialWaitForResponses milliseconds for the first discovery packet response before timing out.
Subnet searches are defined by the first three subnet octets, followed by a range, such as 192.168.2.*
This method accepts IP addresses of the form, assuming a subnet of 192.168.2:
  • 192.168.2.254 (will send a discovery packet to 192.168.2.254)
  • 192.168.2.* (will send a discovery packet for the range 192.168.2.1 - 192.168.2.254)
  • 192.168.2.8-* (will send a discovery packet for the range 192.168.2.8 - 192.168.2.254)
  • 192.168.2.37-42 (will send a discovery packet for the range 192.168.2.37 - 192.168.2.42)
This method will invoke the DiscoveryHandler.FoundPrinter(DiscoveredPrinter) method for each printer that is found during discovery. DiscoveryHandler.DiscoveryFinished() will be invoked when the discovery is finished and DiscoveryHandler.DiscoveryError(String) will be invoked when any errors are encountered during discovery. When DiscoveryHandler.DiscoveryError(String) is invoked, the discovery will be canceled and DiscoveryHandler.DiscoveryFinished() will not be invoked. If a printer responds to the discovery request more than once, the DiscoveryHandler.FoundPrinter(DiscoveredPrinter) method will only be invoked on the first occurrence.

See Also