System.Runtime.InteropServices Compatiblity with Windows11

Aditya Tyagi 1 Reputation point
2022-03-29T14:20:17.06+00:00

Hello,
I am currently using system runtime Interop services for monotonic time stamping.
Bellow are the functions I am using.

[DllImport("kernel32.dll")]
public static extern bool QueryPerformanceCounter(out long value);
[DllImport("kernel32.dll")]
public static extern bool QueryPerformanceFrequency(out long value);

I am wondering wither these services will work fine with windows 11?

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,630 questions
0 comments No comments
{count} votes