GetRemoteAddress()
ts
// in class: Session
function GetRemoteAddress(): string;
This function returns the remote (client) IP address. In case of a reverse-proxed environment the software will make a best-effort to return the actual client IP address, but when this is not possible the IP address of the reverse-proxy will be returned instead.
NOTE
This could be an IPv4 or an IPv6 address, depending on how the IP stack of your operating system and your network equipment are set up.
Example
ts
{
var clientIP = Session.GetRemoteAddress();
Log('Client IP is: ' + clientIP); // ex: 192.168.99.10 or fe80::a117:3373:7fa5:177c
}