C-DEngine 5.105

TheNetworkInfo..::..GetExternalIp Method

Returns the external IP of this hosting hardware by making a reverse lookup via checkip.dyndns.org

Namespace:  nsCDEngine.Discovery
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static void GetExternalIp(
	Action<IPAddress, Object> pCallback,
	Object pCookie
)
Public Shared Sub GetExternalIp ( _
	pCallback As Action(Of IPAddress, Object), _
	pCookie As Object _
)
public:
static void GetExternalIp(
	Action<IPAddress^, Object^>^ pCallback, 
	Object^ pCookie
)

Parameters

pCallback
Type: Action<(Of <(<'IPAddress, Object>)>)>
Will be called when the host was resolved
pCookie
Type: Object
A cookie to track this call with