Is it possible to simulate a stopwatch with IsHighResolution = false when by default it’s true?
Is it possible to simulate a stopwatch with IsHighResolution = false when by default
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Based on the documentation and a quick look in Reflector, I will offer a tentative no.
Here’s the relevant part from the documentation:
IsHighResolutionis a read-only field which is initialized by the (static) type initializer via a call to theQueryPerformanceFrequencyWin32 API function (apparently from kernel32.dll).If there’s any way of changing this, I can’t think of it it.