What do you need it for?
Socket.ResolveHost will do it however it is deprecated as it does it on the main thread and will only work if you disable the network on main thread check.
In most cases it is not needed as the host will be resolved automatically.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.