Edit

Share via


HttpRequestHeaders.Host Property

Definition

Gets or sets the value of the Host header for an HTTP request.

public:
 property System::String ^ Host { System::String ^ get(); void set(System::String ^ value); };
public string Host { get; set; }
public string? Host { get; set; }
member this.Host : string with get, set
Public Property Host As String

Property Value

The value of the Host header for an HTTP request.

Applies to