IPHostEntry.HostName Property
Gets the Domain Name System (DNS) name of a specific host server.
Namespace: System.Net
Assembly: System (in system.dll)
Syntax
public string HostName { get; }
Property Value
A string that contains the primary host name for the server.
Version Information
Available in .NET Micro Framework version 2.0, 2.5