youre getting >1 Ip back, and (assuming the server is really getting an ipv4 address) you can just look for addresses that are IPv4 as opposed to ipV6. Like
string host = System.Net.Dns.GetHostName();
string hostname = Dns.GetHostEntry(host).HostName;
IPHostEntry ipEntry = Dns.GetHostEntry(host);
IPAddress[] addr = ipEntry.AddressList;
foreach (IPAddress a in addr)
Console.WriteLine("{0}:{1}", a.AddressFamily, a.ToString());
Which will get you something along the lines of:
InterNetworkV6:fe80::c80b:d804:38c3:2734%17
InterNetworkV6:fe80::752d:9c4a:69fd:cb63%15
InterNetwork:169.254.80.80
InterNetwork:10.0.1.17