protected override void OnStop() { WatchdogController controller = WatchdogController.GetInstance(); controller.Stop(); }
public static WatchdogController GetInstance() { if (controller == null) { controller = new WatchdogController(); } return(controller); }
protected override void OnStart(string[] args) { WatchdogController.SetServiceLogger(myDLPEventLog); WatchdogController controller = WatchdogController.GetInstance(); controller.Start(); }
public static WatchdogController GetInstance() { if (controller == null) { controller = new WatchdogController(); } return controller; }