B4J Library List of local IP addresses

Didn't find class exactly like this, so here it is if someone needs it.
Easy way to list all local IP addresses.

B4X:
Dim localIP As LocalIP
localIP.Initialize
Dim ips As List = localIP.GetIP
For Each ip As String In ips
    Log(ip)
Next
ips.Clear
 

Attachments

  • LocalIP.bas
    959 bytes · Views: 182
Top