Detecting Processor Architecture


Detecting Processor Architecture

Postby Adam Faulkner via » Wed, 26 Jan 2005 01:51:04 GMT


I have a Mobile Web Page where I give the user the option of Downloading CAB files for PDA Devices.

How can I detect on the Processor Type for the PDA when they access the Web Page so it will link the web page to the Appropriate CAB files for their processor type. There does not seem to be a processor type available on the Device object in the compact framework.

I have tried an API call to getSystemInfo but it retrieves the ProcessorType for the WebServer NOT the PDA device

Any ideas?

Adam Faulkner
Croner Software

Message posted via  http://www.**--****.com/ 

Similar Threads:

1.Detecting number of processors

I want to add "number of processors" to my license control system.  I know I
can use Environment.GetEnvironmentVariable() to check for the environment
variable NUMBER_OF_PROCESSORS, but I do not know how easy this might be to
fake.  Would I be better off using a Win32 sdk call to GetSystemInfo?  Is
there a better way?  Which is more reliable?  Which is more portable?


2.How to detect system architecture


I need to link with some external native library from a managed program 
written in c#.
I want my program to run in any cpu, so I need to link to the  appropriate 
external dll.

Is there any way to know it?

    Using (IntPtr.Size == 8) I cant not know If Im in an Itanium64 
processor or on an AMD 64, wich have different architectures. 

3.Multiple Processors - or - Multi-Core Processor

Just as a quick note before my question, I am not creating an application 
for this, or library, or anything else.  Just knowledge I'd like to obtain.

Now, question is, when developing a multi-threaded application (such as a 
game) is there anything special that needs to be done to make use of the 
multi-processors (or cores)?

That's it :)


4.Use only one processor on multy-processor machine


How can I use only one processor to run my application on multy-processor

Thank you,
Vitaly Sedov

5.Get number of processors / processor speed / performance indicator

Hi there -

I'm trying to find out if there's some reproducable, cross-platform way to 
determine a system's processing power using the CLR / .NET Framework?

Ideally I'm after the number of processors / cores / MHz.  CPU architecture 
(x86, x64, itanium) DOESN'T matter as much.

I tried writing a few computationally-intensive tests, but performance 
varied so much even on the same machine - and that's without any allocations 
- and then there's still no way to determine the optimum number of threads 
for processing (i.e. number of cores ideally) --

Can anyone help, or point me in the right direction?
Thanks very much -

Kieren Johnstone

6. migration single processor to dual processor problem with threadin

7. migration single processor to dual processor problem

8. migration single processor to dual processor problem with thre

Return to ASP.NET


Who is online

Users browsing this forum: No registered users and 82 guest