Here is how to get IP address:
("ignore" is necessary for to ignore a warning message)
Dim ssocket As ServerSocket 'ignore
Dim myip As String = ssocket.GetMyIP
Log(Application.PackageName & "_" & myip) 'Return the PackageName of the app followed by the IP detected before