diff --git a/src/Privatezilla/Privatezilla/Settings/Privacy/GetMoreOutOfWindows.cs b/src/Privatezilla/Privatezilla/Settings/Privacy/GetMoreOutOfWindows.cs deleted file mode 100644 index 67284fa..0000000 --- a/src/Privatezilla/Privatezilla/Settings/Privacy/GetMoreOutOfWindows.cs +++ /dev/null @@ -1,55 +0,0 @@ -using Microsoft.Win32; - -namespace Privatezilla.Setting.Privacy -{ - internal class GetMoreOutOfWindows: SettingBase - { - private const string GetKey = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement"; - private const int DesiredValue = 0; - - public override string ID() - { - return Properties.Resources.settingsPrivacyGetMoreOutOfWindows; - } - - public override string Info() - { - return Properties.Resources.settingsPrivacyGetMoreOutOfWindowsInfo.Replace("\\n", "\n"); - } - - public override bool CheckSetting() - { - return !( - RegistryHelper.IntEquals(GetKey, "ScoobeSystemSettingEnabled", DesiredValue) - - ); - } - - public override bool DoSetting() - { - try - { - Registry.SetValue(GetKey, "ScoobeSystemSettingEnabled", DesiredValue, RegistryValueKind.DWord); - return true; - } - catch - { } - - return false; - } - - public override bool UndoSetting() - { - try - { - Registry.SetValue(GetKey, "ScoobeSystemSettingEnabled", 1, RegistryValueKind.DWord); - return true; - } - catch - { } - - return false; - } - - } -} \ No newline at end of file