PlatformDiagnosticTraceRuntimeInfo.RuntimeFileTime Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The timestamp (in ticks) for the trace.
public:
property long long RuntimeFileTime { long long get(); };
long RuntimeFileTime();
public long RuntimeFileTime { get; }
var int64 = platformDiagnosticTraceRuntimeInfo.runtimeFileTime;
Public ReadOnly Property RuntimeFileTime As Long
Property Value
The timestamp for the trace file.
Remarks
A Windows file time is a 64-bit value that represents the number of 100-nanosecond intervals that have elapsed since 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC). Windows uses a file time to record when an application creates, accesses, or writes to a file.
Convert the return value to a DateTime with DateTime.FromFileTimeUtc();
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for