Esempio n. 1
0
        public OHMService()
        {
            this.ServiceName = "Open Hardware Monitor";
              this.CanStop = true;
              this.CanPauseAndContinue = true;
              this.AutoLog = true;

              _provider = new DataProvider ();
        }
Esempio n. 2
0
        public static void Main(string[] args)
        {
            _provider = new DataProvider ();
              AppDomain.CurrentDomain.ProcessExit += ExitHandler;
              Console.CancelKeyPress += ExitHandler;

              // wait until terminated
              while (true) {
            Thread.Sleep (500);
              }
        }