Resolves host names to IP addresses.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use Dns_Client.GetHostAddresses instead.")] public static IPAddress[] Resolve( string[] hosts )
<ObsoleteAttribute("Use Dns_Client.GetHostAddresses instead.")> Public Shared Function Resolve ( hosts As String() ) As IPAddress()
public: [ObsoleteAttribute(L"Use Dns_Client.GetHostAddresses instead.")] static array<IPAddress^>^ Resolve( array<String^>^ hosts )
[<ObsoleteAttribute("Use Dns_Client.GetHostAddresses instead.")>] static member Resolve : hosts : string[] -> IPAddress[]
Parameters
- hosts (array<String>[]()[][])
- Host names to resolve.
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when hosts is null. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119