Listener.GetLocalInternalIP Method

Mentalis.org Proxy

Mentalis.org Proxy Documentation

Listener.GetLocalInternalIP Method 

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

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

Return Value

Returns an internal IP address of this computer; if this computer does not have an internal 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