Walter.Net.Networking
GetHostEntry(String) Method
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > DnsManager Class > GetHostEntry Method : GetHostEntry(String) Method
Get host entry of possible like the Dns class in the framework only really fast
Syntax
public IPHostEntry GetHostEntry( 
   string ipAddressOrHostName
)

Parameters

ipAddressOrHostName

Return Value

Exceptions
ExceptionDescription
An exception stating "No such host is known" if the host name does not resolve.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DnsManager Class
DnsManager Members
Overload List