I've been searching and searching. Info is probably somewhere, but I could not find it.
How do I get the current IP address of device when NOT connected to my Lan? Cellular Network IP address.
I can get the Lan IP address all day long, but when device is on cell network, that's my problem.
ssocket.GetMyWifiIP only works for Lan connections
Any help would be appreciated. Thanks a bunch
-Scott
Wow, After all that, I still get 192.0.0.4.
I even tried starting my program on cell network.
I disabled Netguard(which I hate to do) and started program.
My Client has Netguard too. (everyone should)
no change.
Thanks for your help. To keep code down, i just have the app connect to my server which reports IP address.
It was the simplest / low code way I could do. This way I also test for internet connectivity
-Scott