It is stored in the registry, at :
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W32Time\Parameters\Type
(NTP if configured)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi!
I'm writing a program, and some parts of it can work correctly only if the Internet Time is enabled in the Win10 settings.
How can I check through C++ code if it's turned On?
The program runs in other people's PCs, so the goal is to be able to do this without any additional settings, or system variables (for example in the Registry Editor).
This is the setting's place in the Control Panel:
It is stored in the registry, at :
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W32Time\Parameters\Type
(NTP if configured)