Exemplo n.º 1
0
 void Handler_OnFoundPrinter(LinkOS.Plugin.Abstractions.IDiscoveryHandler handler, LinkOS.Plugin.Abstractions.IDiscoveredPrinter discoveredPrinter)
 {
     if (!FoundPrinters.Any(x => x.IpAddress.Equals(discoveredPrinter.Address, StringComparison.OrdinalIgnoreCase)))
     {
         FoundPrinters.Add(new FoundPrinter {
             IpAddress = discoveredPrinter.Address
         });
     }
 }
Exemplo n.º 2
0
 private void DiscoveryEventHandler_OnFoundDevice(LinkOS.Plugin.Abstractions.IDiscoveryHandler handler, IDiscoveredPrinter discoveredPrinter)
 {
     throw new NotImplementedException();
 }