Unity 2018.2.0 makes the Network class obsolete. I have used "Network.player.ipAddress" in my code to get the local LAN IP address.
internalIP = Network.player.ipAddress; externalIP = new WebClient().DownloadString("http://icanhazip.com");
What code should replace this? What would be best practice for getting internal and external IP addresses for manual LAN and internet direct connections between server and client?
Internal/external IP addresses are needed so players can load the game, then tell their friends what their IP is to direct connect.