WebRequest.RemoteAddress
From Xojo Documentation
Read-Only Property (As String )
Returns the IP Address of the browser making the request.
Example
To implement a white list for web requests to your app, you can check the remote address in WebApplication.HandleSpecialURL and ignore any that you don't approve:
If Request.RemoteAddress = "192.45.34.22" Then
// Do processing
Return True
Else
Return False // Don't handle the request
End If
// Do processing
Return True
Else
Return False // Don't handle the request
End If