Пример #1
0
 private void SendMessage(object obj)
 {
     if (dataMessageChannel == null)
     {
         if (_timer != null)
         {
             _timer.Dispose();
         }
     }
     Msg = Msg + "\n" + "PING message sent to receiver-uuid @" + DateTime.Now.ToString("hh.mm.ss.ffffff");
     dataMessageChannel.SendData("PING");
 }