How to find the Number of CPU Cores via .NET/C#?

There are several different pieces of information relating to processors that you could get: Number of physical processors Number of cores Number of logical processors. These can all be different; in the case of a machine with 2 dual-core hyper-threading-enabled processors, there are 2 physical processors, 4 cores, and 8 logical processors. The number of … Read more