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