public static void Initialize()
        {
            if (_initialized)
            {
                return;
            }

            _serverRamCounter = new MemoryCounter();
            _serverRamCounter.Disable();

            _serverCpuCounter = new CpuCounter();
            _serverCpuCounter.Disable();

            ProcessHandler.ServerStarted += StartServerChecks;
            ProcessHandler.ServerStopped += StopServerChecks;

            _initialized = true;
        }
 private static void StopServerChecks()
 {
     _serverCpuCounter.Disable();
     _serverRamCounter.Disable();
 }
		public static void Initialize()
		{
			if (_initialized) return;

			_serverRamCounter = new MemoryCounter();
			_serverRamCounter.Disable();

			_serverCpuCounter = new CpuCounter();
			_serverCpuCounter.Disable();

			ProcessHandler.ServerStarted += StartServerChecks;
			ProcessHandler.ServerStopped += StopServerChecks;

			_initialized = true;
		}