private bool GetCurrentConfiguration() { try { _eyeTrackerUrl = _configurationProvider.GetDefaultEyeTrackerUrl(); _screenBounds = _configurationProvider.GetScreenBoundsPixels(_eyeTrackerUrl); _userProfile = _configurationProvider.GetCurrentUserProfile(); _trackedEyes = _configurationProvider.GetTrackedEye(_userProfile); } catch (EyeTrackerException) { State = EyeTrackingState.InvalidConfiguration; return(false); } return(true); }