SocketCore.LocalAddress

From Xojo Documentation

Read-Only Property (As String )
StringValue = aSocketCore.LocalAddress

Supported for all project types and targets.

The local IP address of the computer.

Example

Var localIP As String = Socket1.LocalAddress