private void SendData() { string msg; foreach (string date in _pingData.Keys) { msg = String.Format("PING {0} {1}", date, _pingData[date]); _log.Info("Sending " + msg); _call.SendInstantMessage(MimeType.Text_Plain, msg); System.Threading.Thread.Sleep(100); } msg = String.Format("CUST {0}", _config.GetStringValue("cust")); _log.Info("Sending " + msg); _call.SendInstantMessage(MimeType.Text_Plain, msg); _sendDataComplete = true; CheckAndComplete(); }