'Returns an empty string if ip not available.
Private Sub FindExternalIp As ResumableSub
Dim j As HttpJob
j.Initialize("", Me)
j.Download("https://api.ipify.org?format=json")
Wait For (j) JobDone(j As HttpJob)
Dim ip As String = ""
If j.Success Then
ip = j.GetString.As(JSON).ToMap.Get("ip")
Else
Log(LastException)
End If
j.Release
Return ip
End Sub