Exemple #1
0
 private void RaiseOnReceive(DataReceivedArgs args)
 {
     try
     {
         //var data = args.Data;
         OnReceived?.Invoke(args);
     }
     catch (Exception)
     {
     }
 }
Exemple #2
0
 private void RaiseOnReceive(DataReceivedArgs args)
 {
     try
     {
         _lastExchangeTime = Environment.TickCount;
         OnReceivedEvent?.Invoke(args);
     }
     catch (Exception)
     {
     }
 }