IpEndPoint Local Property C# API
Gets an IpEndPoint object with the localhost IP address (127.0.0.1).

Namespace: Facilita.Native
Assembly: clrNativeWrapper (in clrNativeWrapper.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static IpEndPoint Local { get; }

Field Value

An IpEndPoint object with IP address 127.0.0.1.
Examples

The following example demonstrates getting a local web server IpEndPoint
IpEndPoint local = IpEndPoint.Local.WithPort(80); // "127.0.0.1:80"
See Also