LumiSoft Net Help
GetHostName Method (ip)
NamespacesLumiSoft.NetCoreGetHostName(IPAddress)
Gets host name. If fails returns ip address.
Declaration Syntax
C#Visual BasicVisual 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
ExceptionCondition
ArgumentNullExceptionIs raised when ip is null.

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