Share via


HttpListenerRequest.UserHostName Property

Gets the DNS name and, if provided, the port number specified by the client.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public string UserHostName { get; }

Property Value

A String value that contains the text of the request's Host header.

Version Information

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

See Also

Reference

HttpListenerRequest Class
HttpListenerRequest Members
System.Net Namespace