System.UriBuilder.Host Property

Gets or sets the Domain Name System (DNS) host name or IP address of a server.

Syntax

public string Host { get; set; }

Value

A string containing the DNS host name or IP address of the host machine.

Remarks

The UriBuilder.Host property contains the fully qualified DNS host name or IP address of the server.

Requirements

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