System.Diagnostics.TraceEventCache.Timestamp Property

Gets the current number of ticks in the timer mechanism.

Syntax

public long Timestamp { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The get accessor calls the Stopwatch.GetTimestamp method to get the timestamp. If the System.Diagnostics.Stopwatch class uses a high-resolution performance counter, Stopwatch.GetTimestamp returns the current value of that counter. If the System.Diagnostics.Stopwatch class uses the system timer, Stopwatch.GetTimestamp returns the DateTime.Ticks property of DateTime.Now.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0