public void PoolerMain(object systemInfo) { _systemInfo = (SystemInfo)systemInfo; _wmiGetter = new WmiGetter(); _systemInfo.MemTot = _wmiGetter.GetTotMem(); while (true) { _systemInfo.CpuLoad = _wmiGetter.GetCpuLoad(); _systemInfo.MemFree = _wmiGetter.GetAvailableMem(); Thread.Sleep(500); } }