[DllImport("kernel32.dll", SetLastError=true)]
static extern void GetSystemTimePreciseAsFileTime(out FILETIME lpSystemTimeAsFileTime);
Declare Sub GetSystemTimePreciseAsFileTime Lib "kernel32.dll" (ByRef LPFILETIME lpSystemTimeAsFileTime)
The .Net Core CLR uses this API in the implementation of DateTime.UtcNow. To my knowledge the .NET Framework does not
This function is best suited for high-resolution time-of-day measurements, or time stamps that are synchronized to UTC. For high-resolution interval measurements, use QueryPerformanceCounter or KeQueryPerformanceCounter. For more info about acquiring high-resolution time stamps, see Acquiring high-resolution time stamps.
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Please add some!
Please add some!