public void Start() { _log.Info("Start sending packets to " + _networkProtocol.DestinationEndPoint + "."); if (_sendDataTask.IsRunning) throw new Exception("The sender is already running."); _sendDataTask.Start(); }