System.Net.NetworkInformation.Ping ping = new System.Net.NetworkInformation.Ping();
System.Net.NetworkInformation.PingReply rep= ping.Send("127.0.0.1");
Console.WriteLine(rep.Status);
Console.WriteLine(rep.Address);
Console.Read();
System.Net.NetworkInformation.PingReply rep= ping.Send("127.0.0.1");
Console.WriteLine(rep.Status);
Console.WriteLine(rep.Address);
Console.Read();
浙公网安备 33010602011771号