Stopwatch.GetTimestamp Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets the current number of ticks in the timer mechanism.
Namespace: System.Diagnostics
Assembly: System (in System.dll)
Syntax
'Declaration
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
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.