Example #1
0
        public static void Run(string url)
        {
            UrlTester tester = new UrlTester(url);

            _Testers.Add(tester);
            ThreadPool.QueueUserWorkItem(new WaitCallback(tester.Test));
            ThreadPool.QueueUserWorkItem(new WaitCallback(tester.Test));
            ThreadPool.QueueUserWorkItem(new WaitCallback(tester.Test));
        }
Example #2
0
 static void Test1()
 {
     UrlTester.Run("http://localhost:82/index2.html");
     UrlTester.Run("http://localhost:82/bird_turkey.jpg");
     UrlTester.Run("http://localhost:82/redyellow.jpg");
 }