Share via


UserHostAddress Property

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

Gets the server IP address and port number to which the request is directed.

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

Syntax

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

Property Value

Type: System. . :: . .String
A String that contains the host address information.

Remarks

The information returned by this property is also available in the LocalEndPoint property value.

.NET Framework Security

See Also

Reference

HttpListenerRequest Class

System.Net Namespace