title: Information about Network Discovery API's
body: <p>I'm quite new to windows sdk programming and i'm trying to write a code to discover devices on the network. The code should be able to get the name of the device(hostname) and ipadress of the device. Are there any predefinded Api's to do the same. I googled and got certain api's such as </p>
  
  <pre><code> WNetGetNetworkInformation
   WNetGetResourceInformation
  </code></pre>
  
  <p>which didn't seem to serve the purpose.</p>