Thursday, October 30, 2008

How to get the number of processors in the machine using C# (.NET)

No of processors in the given machine can be retrieved by

Console.WriteLine("ProcessorCount := " + Environment.ProcessorCount );

C# Processor Count, number of processors in the machine using C# (.NET), .NET Processor Count

No comments:

Post a Comment