Resolving multiple host IPv4 and IPv6 addresses.
Declaration Syntax
C# | Visual Basic | Visual 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[]
Return Value
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed. |
ArgumentNullException | Is raised when hostNames is null reference. |
DNS_ClientException | Is raised when DNS server returns error. |
IOException | Is raised when IO reletaed error happens. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119