如何获取 Windows Phone 上的处理器数量 [英] How to get the number of Processors on Windows Phone

查看:30
本文介绍了如何获取 Windows Phone 上的处理器数量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何获取 Windows Phone 上的处理器数量...如 MSDN 中所述,以下语句总是抛出 MethodAccessException:

I'm wondering how to get the number of processors on Windows Phone... as documented in the MSDN the following statement always throws a MethodAccessException:

Environment.ProcessorCount

任何帮助将不胜感激.

谢谢,j3d

推荐答案

根据 this 论坛帖子,链接到 MSDN doc 你提到的,你不能在 Windows Phone 上以编程方式获得处理器数量.

According to this forum post, which links to the MSDN doc that you mentioned, you can't get the processor count programatically on Windows Phone.

这篇关于如何获取 Windows Phone 上的处理器数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆