public bool Initialize(string IPAddress, int Port) { //string uri = ConfigurationManager.AppSettings["STMUrl"].NulltoString(); oClient = new XMLDRServiceClient(new BasicHttpBinding(), new EndpointAddress(Settings.STMServerIP)); _IsConnected = true; return(true); }
public bool Initialize(string IPAddress, int Port) { //string uri = ConfigurationManager.AppSettings["STMUrl"].NulltoString(); oClient = new XMLDRServiceClient(new BasicHttpBinding(), new EndpointAddress(Settings.STMServerIP)); _IsConnected = true; return true; }
public bool CloseSender() { oClient = null; _IsConnected = false; return(true); }
public bool CloseSender() { oClient = null; _IsConnected = false; return true; }