For cellular network, there is a "Let Windows keep me connected" check box which can be manually checked or unchecked. But we want to check and un-check it by our application.
We find a registry key for this function, Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WwanSvc\DisallowAutoConnectByClient, but can't edit the value even running with administrator.
Are there any ways we can change "Let Windows keep me connected" via programming? Thank you.