Esempio n. 1
0
 /// <summary>
 /// Run the test.
 /// </summary>
 /// <param name="client"> The WCF client to use.</param>
 private static void RunTest(SampleClient client)
 {
     string[] websitesToTest = { "http://microsoft.com/", "http://Wintellect.com", "http://live.com" };
     foreach (var ws in websitesToTest)
     {
         Console.WriteLine("Requesting: {0}", ws);
         client.GetContentLength(ws);
     }
 }