Partager via


Uri.Host Property

Gets the host component of this instance.

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

Syntax

public string Host { get; }

Property Value

A String containing the host name. This is usually the DNS host name or IP address of the server.

Version Information

Available in the .NET Micro Framework versions 4.0, 4.1, and 4.2.

See Also

Reference

Uri Class
Uri Members
System Namespace