System.Net.NetworkInformation.Ping ping = new System.Net.NetworkInformation.Ping();
PingReply pr = await ping.SendPingAsync(HostServer);
Console.WriteLine(string.Format("Reply from {0}: bytes = 32 time={1}", pr.Address, pr.RoundtripTime));