I have one question about the documentation "PerformanceCounter.NextValue Method for .Net Framework 4.5".
In the remark note we have the following:
If the calculated value of a counter depends on two counter reads, the first read operation returns 0.0. Resetting the performance counter properties to specify a different counter is equivalent to creating a new performance counter, and the first read operation using the new properties returns 0.0. The recommended delay time between calls to the NextValue method is one second, to allow the counter to perform the next incremental read.
But i need the counter "Current Bandwith" of "Network Interface" category, and it is static, its value does not change. I need to do two readings NextValue for static counters?
- Moved by Hetro wong - MSFTMicrosoft contingent staff 6 hours 3 minutes ago