Installing printers that support Web Services for Devices
Networked printers that are enabled for Web Services for Devices (WSD) can be discovered and paired through the Windows.Devices.Enumeration namespace API.
Once a WSD printer has been paired, the WSDMON Port Monitor will automatically install the printer.
For an example of device enumeration and pairing that uses Windows.Devices.Enumeration, see the Device enumeration and pairing sample on GitHub.
For more information, see the Enumerate devices over a network article in the Windows SDK documentation.