Overload List

  NameDescription
LocalBroadcast()()()
Sends a local broadcast discovery packet to each adapter's subnet.
LocalBroadcast(Int32)
Sends a local broadcast discovery packet to each adapter's subnet. This method will wait up to initialWaitForResponses milliseconds for the first discovery packet response before timing out.
LocalBroadcast(DiscoveryHandler)
Sends a local broadcast discovery packet to each adapter's subnet. This method will wait up to initialWaitForResponses milliseconds for the first discovery packet response before timing out. 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.
LocalBroadcast(DiscoveryHandler, Int32)
Sends a local broadcast discovery packet to each adapter's subnet. This method will wait up to initialWaitForResponses milliseconds for the first discovery packet response before timing out. 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