积极答复者
Windows store app 如何监控当前程序使用的内存

问题
答案
-
你好 Nomooo,
Windows Store App中没有类似的API可以调用内存使用情况。商店应用运行在沙盒内,是无法获取到承载沙盒的系统被沙盒使用的资源,包括CPU,内存,以及System.Management 命名空间下的所有功能(除非有提供接口),在设计的时候就没有规划进去。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已编辑 Jamles HezModerator 2014年8月7日 2:11
- 已标记为答案 Nomooo 2014年8月7日 3:53
全部回复
-
你好 Nomooo,
Windows Store App中没有类似的API可以调用内存使用情况。商店应用运行在沙盒内,是无法获取到承载沙盒的系统被沙盒使用的资源,包括CPU,内存,以及System.Management 命名空间下的所有功能(除非有提供接口),在设计的时候就没有规划进去。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已编辑 Jamles HezModerator 2014年8月7日 2:11
- 已标记为答案 Nomooo 2014年8月7日 3:53