Stopwatch.GetTimestamp Method

Gets the current number of ticks in the timer mechanism.

Namespace:  System.Diagnostics
Assembly:  System (in System.dll)


Public Shared Function GetTimestamp As Long
public static long GetTimestamp()

Return Value

Type: System.Int64
A long integer representing the tick counter value of the underlying timer mechanism.

Version Information

XNA Framework

Supported in: Xbox 360


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.