Walter.Net.Networking
TryGetHostEntry(String,IPHostEntry,String) Method
Walter.Net.Networking Assembly > Walter.Net.Networking Namespace > DnsManager Class > TryGetHostEntry Method : TryGetHostEntry(String,IPHostEntry,String) Method
The host name.
The entry if all was okey else this will be null.
The error if failed.
Tries the get host entry.
Syntax
public bool TryGetHostEntry( 
   string hostNameOrAddress,
   out IPHostEntry? entry,
   out string? errorMessage
)

Parameters

hostNameOrAddress
The host name.
entry
The entry if all was okey else this will be null.
errorMessage
The error if failed.

Return Value

true if no errors, false otherwise.
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