Overload List

  NameDescription
DirectedBroadcast(String)
Sends a directed broadcast discovery packet to the subnet specified by ipAddress.
Directed broadcasts are defined by the first three subnet octets, followed by 255, such as 192.168.2.255
This method accepts IP addresses of the form, assuming a subnet of 192.168.2:
  • 192.168.2.255
  • 192.168.2.1 (last octect will be replaced with 255)
  • 192.168.2 (will append 255 for the last octect)
  • 192.168.2. (will append 255 for the last octect)
DirectedBroadcast(String, Int32)
Sends a directed broadcast discovery packet to the subnet specified by ipAddress. This method will wait up to initialWaitForResponses milliseconds for the first discovery packet response before timing out.
Directed broadcasts are defined by the first three subnet octets, followed by 255, such as 192.168.2.255
This method accepts IP addresses of the form, assuming a subnet of 192.168.2:
  • 192.168.2.255
  • 192.168.2.1 (last octect will be replaced with 255)
  • 192.168.2 (will append 255 for the last octect)
  • 192.168.2. (will append 255 for the last octect)
DirectedBroadcast(DiscoveryHandler, String)
Sends a directed broadcast discovery packet to the subnet specified by ipAddress. This method will wait up to initialWaitForResponses milliseconds for the first discovery packet response before timing out.
Directed broadcasts are defined by the first three subnet octets, followed by 255, such as 192.168.2.255
This method accepts IP addresses of the form, assuming a subnet of 192.168.2:
  • 192.168.2.255
  • 192.168.2.1 (last octect will be replaced with 255)
  • 192.168.2 (will append 255 for the last octect)
  • 192.168.2. (will append 255 for the last octect)
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.
DirectedBroadcast(DiscoveryHandler, String, Int32)
Sends a directed broadcast discovery packet to the subnet specified by ipAddress. This method will wait up to initialWaitForResponses milliseconds for the first discovery packet response before timing out.
Directed broadcasts are defined by the first three subnet octets, followed by 255, such as 192.168.2.255
This method accepts IP addresses of the form, assuming a subnet of 192.168.2:
  • 192.168.2.255
  • 192.168.2.1 (last octect will be replaced with 255)
  • 192.168.2 (will append 255 for the last octect)
  • 192.168.2. (will append 255 for the last octect)
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