Example #1
0
 public static void Load()
 {
     HostsFileAdapter.Write(GetCurrentFilteringSettings());
     CustomNotifyIcon.SetupNotificationIcon();
     ServiceAdapter.CustomCommend((int)ServiceAdapter.CustomCommends._continue);
     ServiceAdapter.CustomCommend((int)ServiceAdapter.CustomCommends.startCatchFiles);
     SetSystemStatus(true);
     StartDefenceCheck();
 }
Example #2
0
 public static void UpdateAllSettings()
 {
     HostsFileAdapter.Write(GetCurrentFilteringSettings());
     SchedulePage.Instance.UpdateBlockingMode();
     ProblematicAppsBlocker.UpdateBlockedList();
 }