public RamChecker(RamCheckerSettings settings) { _settings = settings; _ramQuery = new ManagementObjectSearcher( new ObjectQuery("SELECT * FROM Win32_OperatingSystem") ); }
public RamCheckResult( string checkName, RamCheckerSettings settings, double freeMemoryGb, double usedMemoryGb, bool isOk, bool wasErrorOnLastCheck) : base( checkName, isOk, wasErrorOnLastCheck) { _settings = settings; _freeMemoryGb = freeMemoryGb; _usedMemoryGb = usedMemoryGb; }