예제 #1
0
 private static long GetInstalledMemoryInGigaBytesWindows()
 {
     GetPhysicallyInstalledSystemMemory(out var installedMemoryKb);
     return((long)UnitConverter.KiloBytesToMegaBytes(installedMemoryKb).MegaBytesToGigaBytes());
 }