1
The method Resolve is as obsolete and Microsoft guides to use the GetHostEntry. However when using GetHostEntry the exception occurs:
This host is not known
When I use Resolve there is no exception and the program works correctly.
The Ip’s used are from the LAN my pc is connected to. I did a test by placing a remote Ip, from Google, and then the GetHostEntry did not generate exception, IE, it does not work with the Ip’s of my lan.
How can I solve this problem using GetHostEntry?