Version: 2017.2

SystemInfo.systemMemorySize

切换到手册
public static int systemMemorySize ;

描述

具有的系统内存容量(只读)。

此为系统内存容量的近似值(以兆字节为单位)。

注意:Windows 应用商店应用程序不支持该功能,将始终返回 0。

另请参阅:SystemInfo.graphicsMemorySize