Consider the following scenario:
In this scenario, all the values that are returned by the counters appear incorrect when they're compared to the values that are returned in Performance Monitor.
For example, this problem occurs when the application queries the Active UDP Connections counter. In this situation, the counter always returns 300 regardless of what the correct value is.
- You use a Microsoft .NET Framework application to query Performance Monitor counters in Microsoft Forefront Threat Management Gateway 2010.
- The application queries counters for the Forefront TMG Firewall Service.
In this scenario, all the values that are returned by the counters appear incorrect when they're compared to the values that are returned in Performance Monitor.
For example, this problem occurs when the application queries the Active UDP Connections counter. In this situation, the counter always returns 300 regardless of what the correct value is.