We are using "ProcessorCount" property of "System.Environment" class.
Here is example for this.
In this example we display Processor count on screen
C# Examples :
Response.Write("<b>Number of Processor :</b> " + Environment.ProcessorCount);
VB.net Examples :
Response.Write("<b>Number of Processor :</b> " & Environment.ProcessorCount)
Note : Give Us your valuable feedback in comments. Give your suggestions in this article so we can update our articles accordingly that.