void Discovery_Failure(DiscoveryFailureEventArgs e)
 {
     logger.Error(e.Reason);
     RestartButton.IsEnabled = true;
 }
 private void Discovery_Failure(DiscoveryFailureEventArgs e)
 {
     _logger.Error(e.Reason);
     RestartButton.IsEnabled = true;
 }