Gets host name. If fails returns ip address.

C# | Visual Basic | Visual C++ | F# |
public static string GetHostName( IPAddress ip )
Public Shared Function GetHostName ( ip As IPAddress ) As String
public: static String^ GetHostName( IPAddress^ ip )
static member GetHostName : ip : IPAddress -> string

- ip (IPAddress)
- IP address which to reverse lookup.

String
Returns host name of specified IP address.
Returns host name of specified IP address.

Exception | Condition |
---|---|
ArgumentNullException | Is raised when ip is null. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119