UniPRT SDK  v2.0.0.0
NetworkDiscover Class Reference

Static Public Member Functions

static List< String > getPrinterList (DiscoveryPacket.Brand brand, int timeoutMs)
 Returns list of addresses to printers discovered on network. More...
 

Member Function Documentation

◆ getPrinterList()

static List<String> getPrinterList ( DiscoveryPacket.Brand  brand,
int  timeoutMs 
)
static

Returns list of addresses to printers discovered on network.

Discovery is done by broadcasting UDP messages and requires that network be configured to allow UDP packets.

Parameters
[in]brandGet all printers or filter by brand.
[in]responseTimeoutMsTimeout after last printer response received before stop listening for new printer response.