My code for some reason isn't working :P
PerformanceCounter pc = new PerformanceCounter();
pc.CategoryName = "System";
pc.CounterName = "System Up Time";
this.Label1.Text = pc.NextValue().ToString();
Object get's created just fine.. but it's saying that it can't find that category name... is there something else special I have to do with the performance counter to get it to work in this instance? also what permissions would I need to do this on a remote machine?