WebRequest.RemoteAddress

From Xojo Documentation

Read-Only Property (As String )
StringValue = aWebRequest.RemoteAddress

New in 2011r2

Supported for all project types and targets.

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

See Also

WebApplication.SessionWithIdentifier