Obtains a counter sample and returns the raw value for it.
[Visual Basic] Public Function NextSample() As CounterSample [C#] public CounterSample NextSample(); [C++] public: CounterSample NextSample(); [JScript] public function NextSample() : CounterSample;
Returns the next CounterSample value for this counter.
PerformanceCounter Class | PerformanceCounter Members | System.Diagnostics Namespace