UniPRT SDK  v1.0.0.0
UniPRT.Sdk.Discovery.NetworkDiscover Class Reference

Static Public Member Functions

static List< string > GetPrinterList (Brand brand=Brand.ALL, int responseTimeoutMs=2000)
 Returns list of addresses to printers discovered on network. More...
 

Member Function Documentation

◆ GetPrinterList()

static List<string> UniPRT.Sdk.Discovery.NetworkDiscover.GetPrinterList ( Brand  brand = Brand.ALL,
int  responseTimeoutMs = 2000 
)
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.