LumiSoft Net Help
GetHostName Method (ip)
Namespaces ► LumiSoft.Net ► Core ► GetHostName(IPAddress)
Gets host name. If fails returns ip address.
Declaration Syntax

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

Parameters

ip (IPAddress)
  IP address which to reverse lookup.

Return Value
String
Returns host name of specified IP address.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when ip is null.

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