Ejemplo n.º 1
0
 private static ulong GetAvailableMemoryOSX1()
 {
     return(MacMemoryAPI.GetAvailableMemory());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// On Mac OS X, gets the total amount of installed physical memory.
 /// </summary>
 /// <returns>The total amount of installed physical memory on the system.</returns>
 private static ulong GetTotalPhysicalMemoryOSX1()
 {
     return(MacMemoryAPI.GetPhysicalMemory());
 }