How do you detect the number of physical processors/cores in .net?
Environment.ProcessorCount
EDIT: available in .NET 2.0, not in .NET 1.1