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