Be more than mobile, reach every Windows screen
Reach millions of players across phone, PC, and Xbox One
The Internet of your things
The world's most personal digital assistant
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"....
Sorry I can't find any way to ahieve that.
Aaron Xue [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
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
Apple's IP Address
There's some C# code on Code Project that does the PTR lookup you can use..
MCTS - Gold Certification
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?