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
Any help would be appreciated.
Thanks, j3d
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
Any help would be appreciated.
Thanks, j3d
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.
As described in MSDN this Property has a
SecurityCriticalAttribute
that makes for internal only, you can't use from your application. From MSDN: