An NDoc Documented Class Library

SimpleDNSLookup.GetIPV6AddressString Method 

Returns the IPv6 address for a given hostname.

public static string GetIPV6AddressString(
   string hostname
);

Parameters

hostname
Hostname for which the IPv6 address should be returned.

Return Value

IPv6 address for the given hostname. null if no record is found.

Exceptions

Exception Type Condition
SocketException If the response is not received within the Timeout period.
Exception If the Name Server can't be determined or any other internal error occurs.

See Also

SimpleDNSLookup Class | Lavantech.Dns Namespace