####using System.Collections.Generic;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
namespace ConsoleApplication4
public bool checkstatus()
WebClient client = new WebClient();
var request = (HttpWebRequest)WebRequest.Create("http://localhost:33242/Service1.svc?wsdl");
var response = (HttpWebResponse)request.GetResponse();
if(response.StatusCode==HttpStatusCode.OK)