title: How to programmatically turn on "Network Discovery" in Windows OS?
body: <p>My project open ports using UPnP protocol. Windows disables UPnP device discovery by default, one needs to turn on <strong>Network Discovery</strong> in <strong>Network and Sharing Center</strong> to enable UPnP device discovery.</p>
  
  <p>Is there a way to do this programatically?</p>