NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Counter Class

Provides access to system timers.

Object
   Counter

[Visual Basic]
Public Class Counter
[C#]
public class Counter
[C++]
public __gc class Counter
[JScript]
public class Counter

Remarks

To get the number of seconds, divide Value by Frequency.

Use the GetElapsed property to get how long an operation takes to run.

Requirements

Namespace: System.Diagnostics

Assembly: System.dll

See Also

Counter Members | System.Diagnostics Namespace