Allows for name resolution using the host's network name.

C# | Visual Basic | Managed C++ |
IPHostEntry GetHostEntry ( string hostname )
Function GetHostEntry ( _ hostname As String _ ) As IPHostEntry
IPHostEntry^ GetHostEntry ( String^ hostname )

- hostname (String)
- Network name of the host to resolve.

The structure containing the host's name and IP addresses.