Venkatachalapathi G on Wed, 27 Mar 2013 16:06:41
We have System.Net.NetworkInformation.NetworkInterface.GetIPProperties() function in .net for desktop programs. Need an equivalent API or an API which provides me the DNS address of a local machine. I want to send DNS request programmatically.
thanks in Advance.
Windows Desktop, Windows Phone developer.
Robin_Yang on Thu, 28 Mar 2013 05:45:00
You can use DatagramSocket.GetEndpointPairsAsync to retrieve IP address by hostname.
Venkatachalapathi G on Thu, 28 Mar 2013 06:22:40
thanks Robin.. I don't need the API to find out the IP address. I need an API to get the DNS address.