| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
wufflina
10年前发布

c#实现Ping功能代码

System.Net.NetworkInformation.Ping png = new System.Net.NetworkInformation.Ping();  try  {      PingReply rply = png.Send("outofmemory.cn");      Console.Write(rply.RoundtripTime.ToString());      Console.ReadLine();  }  catch (Exception)  {      Console.Write("Ping Error");      Console.ReadLine();  }