private void DisplaySoapResult(object sender, SoapCall.SoapCallResultEventArgs e)
 {
     rpResult.Dispatcher.Invoke(new Action(() =>
     {
         rpResult.Text = e._result;
     }));
 }
 void SendCommand(string command)
 {
     SoapCall soap = new SoapCall();
     soap.SoapHost = "114.215.117.210";
     soap.SoapPort = 7891;
     soap.SoapAccount = "msa";
     soap.SoapPassword = "******";
     soap.SoapCallReturned += DisplaySoapResult;
     rpResult.Text = "Communicating...";
     new Thread(() => soap.Call(command)).Start();
 }