I\'m trying to find the performance of some of my proxies. I tried the Ping class in .net but it does not accept ports. Is there a way to check how long a response
Ping
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(myUri); System.Diagnostics.Stopwatch timer = new Stopwatch(); timer.Start(); HttpWebResponse response = (HttpWebResponse)request.GetResponse(); response.Close (); timer.Stop(); TimeSpan timeTaken = timer.Elapsed;