get ip of wifi router c# code example
Example 1: c# get wifi ip address
string myIP = Dns.GetHostAddresses(Dns.GetHostName())[0].Address.ToString();
Example 2: c# get wifi ip address
string Myhost = System.Net.Dns.GetHostName();
string myIP = System.Net.Dns.GetHostAddresses(Myhost)[0].Address.ToString();