Share via


Dns.GetHostEntry Method

Resolves an Internet host name or IP address to an IPHostEntry object.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public static IPHostEntry GetHostEntry (
         stringhostNameOrAddress
)

Parameters

  • hostNameOrAddress
    The name or IP address of a specific Internet host.

Return Value

An IPHostEntry object that contains address information about the Internet host specified in the hostNameOrAddress parameter.

Version Information

Available in .NET Micro Framework version 2.0, 2.5

See Also

Reference

Dns Class
Dns Members
System.Net Namespace