Mono Class Library: System.Net.IPHostEntry Overview | Members

System.Net.IPHostEntry.HostName Property

Gets or sets the DNS name of the host. [Edit]

public string HostName { set; get; }

Value

A string containing the DNS host name that corresponds to the address and alias information contained in the current instance. [Edit]

Remarks

Note: The IPHostEntry.HostName property contains the primary host name for a server. If the DNS entry for the host defines additional aliases, they are available via the IPHostEntry.Aliases property.
[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0