Q:

Is System. Dns available on Windows Phone? 

I'm trying to build a Windows Phone project that I've ported some code into from another project. 
The only error I have is on the line
ipEndPoint = new IPEndPoint(Dns. GetHostEntry(address).AddressList[0], port);

"the name 'Dns' does not exist in the current context"

Should this type be available in Windows Phone? 
According to the MSDN page I can see that Dns exists within System. Net, but I can't see Dns in my project inside the System. Net namespace. 

A:

No it is not.  The first column of the table shows where this member would be available.  The following image is from the String class.  There you see that this constructor is available for

XNA Framework
Portable Class Library
Windows Store Apps

