Solved

Can I find the number of CPU cores for vb.net 2005?

Posted on 2010-09-04
5
960 Views
Last Modified: 2012-05-10
Can I find the number of CPU cores for vb.net 2005?
0
Comment
Question by:Alyanto
  • 3
5 Comments
 
LVL 1

Author Comment

by:Alyanto
ID: 33602948
Can I find the number of CPU cores for vb.net 2005?
0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33602965
0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33602976
0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33603018
Simply use
Console.WriteLine("ProcessorCount := " + Environment.ProcessorCount)
0
 
LVL 12

Accepted Solution

by:
Mohamed Abowarda earned 500 total points
ID: 33603829
You can use windows API:
http://www.dalun.com/blogs/05.01.2007.htm

or Environment.ProcessorCount() function in both VB.NET and C#.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question