Listener.GetLocalExternalIP Method

Mentalis.org Proxy

Mentalis.org Proxy Documentation

Listener.GetLocalExternalIP Method 

Returns an external IP address of this computer, if present.

[Visual Basic]Public Shared Function GetLocalExternalIP() As System.Net.IPAddress
[C#]
public static IPAddress GetLocalExternalIP();

Return Value

Returns an external IP address of this computer; if this computer does not have an external IP address, it returns the first local IP address it can find.

Remarks

If this computer does not have any configured IP address, this method returns the IP address 0.0.0.0.

See Also

Listener Class | Listener Members | Org.Mentalis.Proxy Namespace