Host Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the host component of this instance.

Namespace:  System
Assembly:  System.Http (in System.Http.dll)

public string Host { get; }

Property Value

Type: System..::..String
A String that contains the host name. This is usually the DNS host name or IP address of the server.