Tag Archives: Win32_Processor

Use WMI to get the number of physical and logical processors in C#

This example shows how you can determine your computer’s number of processors, both physical and logical. Many computers these days contain multiple CPUs. Each CPU may contain multiple cores, processors that can execute instructions. Finally, some cores can execute multiple … Continue reading

Posted in performance, system, threading, WMI | Tagged , , , , , , , , , , , , , , , | Leave a comment

Get the system’s board serial numbers and CPU IDs in C#

This example shows how to get the system’s board serial numbers and CPU IDs. WMI (Windows Management Instrumentation) lets you use SQL-like statements to ask the computer about itself. The GetBoardSerialNumbers function shown in the following code returns a list … Continue reading

Posted in system, WMI | Tagged , , , , , , , , , , , , | 3 Comments