Exemplo n.º 1
0
 public void InvokeSocket()
 {
     this.Dispatcher.BeginInvoke(new Action(delegate()
     {
         _ClientEngine.NotifyReceiveData();
     }));
 }
Exemplo n.º 2
0
        void TimerClock_Tick(object sender, EventArgs e)
        {
            //try
            //{
            _ClientEngine.NotifyReceiveData();

            if (_UserInfo != null)
            {
                counter++;

                if (counter >= 10)
                {
                    _VideoEngine.Ping(_UserInfo);
                    counter = 0;
                }
            }
            //}
            //catch { }
        }