Provides a set of methods and properties that you can use to accurately measure elapsed time.
public class Stopwatch
Public Class Stopwatch
Initializes a new instance of theclass.
Gets the total elapsed time measured by the current instance.
Gets the total elapsed time measured by the current instance, in milliseconds.
Gets the total elapsed time measured by the current instance, in timer ticks.
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.(Inherited from Object.)
Gets the frequency of the timer as the number of ticks per second.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the current number of ticks in the timer mechanism.
Gets the Type of the current instance.(Inherited from Object.)
Indicates whether the timer is based on a high-resolution performance counter.
Gets a value indicating whether thetimer is running.
Creates a shallow copy of the current Object.(Inherited from Object.)
Stops time interval measurement and resets the elapsed time to zero.
Starts, or resumes, measuring elapsed time for an interval.
Initializes a newinstance, sets the elapsed time property to zero, and starts measuring elapsed time.
Stops measuring elapsed time for an interval.
Equivalent to System.Diagnostics.Stopwatch
Assembly: InTheHand (Module: InTheHand) Version: 184.108.40.206