private void Extract() { steamAccount = bridge.ExtractSteamGuardAccount(SelectedSteamID, SelectedSteamID != "*"); if (!string.IsNullOrEmpty(steamAccount.DeviceID)) { Result = steamAccount; Log("Account extracted succesfully!"); LoginAccount(); } else { if (string.IsNullOrEmpty(steamAccount.DeviceID)) { InputForm deviceIdForm = new InputForm($"Error while getting file from adb.\n Enter the device Id form file \n data/data/com.valvesoftware.android.steam.community/shared_prefs/steam.uuid.xml \n OR \n /sdcard/steamauth/apps/com.valvesoftware.android.steam.community/sp/steam.uuid.xml"); deviceIdForm.Owner = this; deviceIdForm.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; deviceIdForm.ShowDialog(); if (deviceIdForm.Canceled) { deviceIdForm.Close(); } steamAccount.DeviceID = deviceIdForm.txtBox.Text; if (!string.IsNullOrEmpty(steamAccount.DeviceID)) { Result = steamAccount; Log("Account extracted succesfully!"); LoginAccount(); } } } }
private void Extract() { steamAccount = bridge.ExtractSteamGuardAccount(SelectedSteamID, SelectedSteamID != "*"); if (steamAccount != null) { Result = steamAccount; Log("Account extracted succesfully!"); LoginAccount(); } }