J
Jim Heavey
I am messing around with performance counters to try to learn how to work
with them.
In VS.Net, I can see that there exist a Performance Counter with a
"CategoryName" of "Browser".
My application allows the user to key in the "CategoryName" and then if it
is found, builds a ListView with each of the counter's name found within
the specified CategoryName keyed.
I tried the "PerformanceCounterCategory.Exists("Browser")" to see if the
category name exists. This works sometimes, but other times it does not.
I provided the name of my machine (which I found in
Settings/System/Computer Name, but when I provided this, I got an IO
exception. What am I doing wrong and how can I get an instance of the
PerformanceCounterCategory for "Browser" and how can I then iterate over it
to find out all of the counter names?
Thanks In Advance For You Assistance!!!!!
with them.
In VS.Net, I can see that there exist a Performance Counter with a
"CategoryName" of "Browser".
My application allows the user to key in the "CategoryName" and then if it
is found, builds a ListView with each of the counter's name found within
the specified CategoryName keyed.
I tried the "PerformanceCounterCategory.Exists("Browser")" to see if the
category name exists. This works sometimes, but other times it does not.
I provided the name of my machine (which I found in
Settings/System/Computer Name, but when I provided this, I got an IO
exception. What am I doing wrong and how can I get an instance of the
PerformanceCounterCategory for "Browser" and how can I then iterate over it
to find out all of the counter names?
Thanks In Advance For You Assistance!!!!!