private void LbUpdateCookie2_MouseDown(object sender, MouseButtonEventArgs e) { if (txtSessionToken.Text != "") { MessageBox.Show(Translate("ikas_will_try_to_get_cookie,_which_will_take_seconds_to_minutes_to_finish._please_do_not_close_this_window.", true), "Ikas", MessageBoxButton.OK, MessageBoxImage.Information); // DISCLAIMER if (MessageBox.Show(Translate("automatic_cookie_generation_will_send_your_session_token_to_nintendo_and_non-nintendo_servers,_which_may_lead_to_privacy_breaches._please_read_the_instructions_in_the_readme_carefully._click_yes_to_continue,_or_click_no_to_view_other_methods.", true), "Ikas", MessageBoxButton.YesNo, MessageBoxImage.Warning) == MessageBoxResult.Yes) { // Fade in loading lbOk.IsEnabled = false; bdLoading.IsHitTestVisible = true; ((Storyboard)FindResource("fade_in")).Begin(bdLoading); // Automatic Cookie Generation _ = Depot.GetCookie(txtSessionToken.Text); } else { // Browse MitM way to get Cookie System.Diagnostics.Process.Start(FileFolderUrl.MitmInstruction); } } else { MessageBox.Show(Translate("you_may_enter_a_valid_session_token_before_update_cookie.", true), "Ikas", MessageBoxButton.OK, MessageBoxImage.Warning); } }