I've found how to resolve a hostname to IP address in the post:
But if I need to get the hostname/domain name from an IP address, how can I do it in Win8 app?
I've tried the solutions in the mentioned article, but no hostname is found in the attributes of "HostName"....
It depends, ping -a IP Address should show the hostname
Also you can do PTR lookups in DNS..
Here's an example of all the hostnames assocaited to Apple's Ip address
There's some C# code on Code Project that does the PTR lookup you can use..
MCTS - Gold Certification