NetworkDiscovererFindPrinters Method (DiscoveryHandler, ListString, Int32)
|
Sends a discovery request to the list of printer DNS names or IPs in printersToFind.
Namespace:
Zebra.Sdk.Printer.Discovery
Assembly:
SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1869
Syntax public static void FindPrinters(
DiscoveryHandler discoveryHandler,
List<string> printersToFind,
int waitForResponsesTimeout
)
Public Shared Sub FindPrinters (
discoveryHandler As DiscoveryHandler,
printersToFind As List(Of String),
waitForResponsesTimeout As Integer
)
public:
static void FindPrinters(
DiscoveryHandler^ discoveryHandler,
List<String^>^ printersToFind,
int waitForResponsesTimeout
)
Parameters
- discoveryHandler
- Type: Zebra.Sdk.Printer.DiscoveryDiscoveryHandler
A DiscoveryHandler instance that is used to handle discovery events (e.g. found a printer, errors, discovery finished). - printersToFind
- Type: System.Collections.GenericListString
A list of IP addresses or DNS names for the printers to be discovered. - waitForResponsesTimeout
- Type: SystemInt32
Time to wait, in milliseconds, before determining that there are no more discovery responses.
Exceptions Remarks See Also