Share via


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)

Syntax

'Declaration
Public ReadOnly Property Host As String
public string Host { get; }
public:
property String^ Host {
    String^ get ();
}
member Host : string with get
function get Host () : String

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.

.NET Framework Security

See Also

Reference

Uri Class

System Namespace