QUESTION 1.) BEGIN
r has two properties one called CategoryName and one called CounterName. I can not seem to find a list on the web or else where as to all the possible strings that I may use for CategoryName as well as all the possible strings that I may use for CounterName with each specified CategoryName.
I know that this is valid
ryName = "Network Interface";
rName = "Bytes Received/sec";
Can someone provide a link or other resource as to where I can obtain a list and description for all the possible CategoryNames and CounterNames?
QUESTION 1.) END
Question 2.) BEGIN
//I understand this have no question about it...it is a private variable of a form
//This is contained in the private void InitializeComponent() which is
//Windows Form Designer generated code
this.performanceCounter1 = new System.Diagnostics.Perform
//I don't understand this line...also contained in InitializeComponent()
//Can you explain it?
//I understand this...also contained in InitializeComponent()
e = "Network Interface";
= "Bytes Received/sec";
//I don't understand this
///can you explain it?...also contained in InitializeComponent()
QUESTION 2.) END
QUESTION 3.) BEGIN
I was looking at the above code which I found on the internet and was a little confused. It seems as though someone dropped a PerformanceCounter onto the mainform but I don't seem to have it in my component list. How can I go about adding that component to my list?
If I am not using a form...for instance I am just using a class is a PerfomanceCounter declared and initialized in the same way?
QUESTION 3.) END
Questions 2 and Questions 3 may be newbiew questions but I'm in the process of converting from C++ to C# and have been overwhelmed but very pleased as to the large number of classes. By the way I love the properties and indexer features.
Also this is somewhat related to
Maybe someone that knows the answer to this question can also answer it...it is also 500 points.