Share via


LocalEndPoint Property

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

Get 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 LocalEndPoint As IPEndPoint
public IPEndPoint LocalEndPoint { get; }
public:
property IPEndPoint^ LocalEndPoint {
    IPEndPoint^ get ();
}
member LocalEndPoint : IPEndPoint with get
function get LocalEndPoint () : IPEndPoint

Property Value

Type: System.Net. . :: . .IPEndPoint
An IPEndPoint that represents the IP address that the request is sent to.

Remarks

This property is useful when you want to respond to requests based on the way they are addressed.

.NET Framework Security

See Also

Reference

HttpListenerRequest Class

System.Net Namespace