NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DNS.GetHostByName

Retrieves the IPHostEntry information corresponding to the DNS name provided in the host parameter.

[Visual Basic]
Public Shared Function GetHostByName( _
   ByVal host As String _
) As IPHostEntry
[C#]
public static IPHostEntry GetHostByName(
   string host
);
[C++]
public: static IPHostEntry* GetHostByName(
   String* host
);
[JScript]
public static function GetHostByName(
   host : String
) : IPHostEntry;

Parameters

host
A string representing the DNS name of the host.

Return Value

An IPHostEntry object containing host information pertaining to the address specified in host.

See Also

DNS Class | DNS Members | System.Net Namespace