LumiSoft Net Help
GetHostsAddresses Method (hostNames, resolveAny)
NamespacesLumiSoft.Net.DNS.ClientDns_ClientGetHostsAddresses(array<String>[]()[][], Boolean)
Resolving multiple host IPv4 and IPv6 addresses.
Declaration Syntax
C#Visual BasicVisual C++F#
public HostEntry[] GetHostsAddresses(
	string[] hostNames,
	bool resolveAny
)
Public Function GetHostsAddresses ( 
	hostNames As String(),
	resolveAny As Boolean
) As HostEntry()
public:
array<HostEntry^>^ GetHostsAddresses(
	array<String^>^ hostNames, 
	bool resolveAny
)
member GetHostsAddresses : 
        hostNames : string[] * 
        resolveAny : bool -> HostEntry[] 
Parameters
hostNames (array<String>[]()[][])
Host names to resolve.
resolveAny (Boolean)
If true, as long as one host name is resolved, no error returned.
Return Value
array<HostEntry>[]()[][]
Returns host entries.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
ArgumentNullExceptionIs raised when hostNames is null reference.
DNS_ClientExceptionIs raised when DNS server returns error.
IOExceptionIs raised when IO reletaed error happens.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119