Stopwatch.GetElapsedDateTimeTicks Method

.NET Framework (current version)

Gets the high-resolution ticks as DateTime.Ticks if the system is using a high-resolution counter.

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

public long GetElapsedDateTimeTicks()

Return Value

Type: System.Int64
High-resolution ticks converted to DateTime.Ticks.

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Show: