How do you detect the number of physical processors/cores in .net?
You can use PowerShell to access comprehensive processor information. For example, you can run the following command to get the number of CPU cores:
Get-WmiObject -namespace root\CIMV2 -class Win32_Processor -Property NumberOfCores
It's much easier to research WMI when using some kind of explorer tool. So, I can suggest using WMI browsing tool (e.g. WMIExplorer or WMI CIM Studio) to explore WMI classes, properties and methods.