Hi Andres,
The function AppeonGetClientIP(of_getclientip) return the the IP address (internal), please refer to article below for details.
https://www.appeon.com/support/documents/appeon_online_help/ps2019/workarounds_and_api_guide/ch01s03s02.html#AppeonGetClientIP_function
The function getSessionByID provides the IP address (external), please refer to article below for details.
https://www.appeon.com/support/documents/appeon_online_help/ps2019/workarounds_and_api_guide/ch04s01s04.html
For example:
AppeonDotNetComponent lnvo
any la_l[]
long ll_ret
string ls_clientID
ls_clientID = appeonGetClientID()
la_l[1] = ls_clientID // actually, can be empty and this will mean "take current session ID"
la_l[2] = ""
lnvo = Create AppeonDotNetComponent
lnvo.ComponentType = "4"
lnvo.TypeLib = ""
lnvo.ClassDescript = ""
ll_ret = lnvo.of_ExecInterface ("getSessionByID",la_l)
If ll_ret = 0 Then
MessageBox("Get session info successfully.", "Session info: " + string(la_l[2]))
End If
Regards,
ZhaoKai