/// <summary> /// Sets all current accounts as not for upload, so the new account can be the upload account /// </summary> internal static void SetOtherAccountsAsNotForUpload() { try { AWBProfiles.ResetTempPassword(); foreach (int id in GetProfileIDs()) { RegistrySetValue(id, "UseForUpload", false.ToString()); } } catch { } }
/// <summary> /// Sets all current accounts as not for upload, so the new account can be the upload account /// </summary> internal static void SetOtherAccountsAsNotForUpload() { try { AWBProfiles.ResetTempPassword(); foreach (int id in GetProfileIDs()) { Microsoft.Win32.RegistryKey key = new Computer().Registry.CurrentUser.OpenSubKey(RegKey + "\\" + id, true); key.SetValue("UseForUpload", false); } } catch { } }