public Service1(DaemonCore Core, ILogger <Service1> logger) { _logger = logger; _CTokS = new CancellationTokenSource(); _Core = Core; InitializeComponent(); }
private void timer2_Tick(object sender, EventArgs e) { DaemonCore.Protect(); }