关于 UI、逻辑和提示的一些建议
作者: lc6464创建于 2021年8月14日更新于 2026年8月3日
- Add the function of manually switching between deep and light color modes, because Windows cannot change most of the custom settings, including deep and light color modes, before activation. It is recommended to support manual switching between
Follow System,Dark Mode, andLight Mode, with the default beingFollow System. - Pre-check whether the system is connected to the Internet, whether services such as Windows Update are running or disabled, and other predictable issues before activation. Some people may want to activate without connecting to the Internet.
- There is some mention of
wininet.dllin some resources, but in Microsoft Docs, it is mentioned thatUsing this API is not recommended, use the INetworkListManager::GetConnectivity method instead., maybe you can try callingnetlistmgr.dll? - inetworklistmanager-getconnectivity
- Some people who are against updates also like to disable services such as Windows Update (even today, I encountered a system with 1703 that needed to be activated, and I updated it myself).
- You can refer to the ServiceController in .NET Framework 4.5.2, but I couldn't find a method to get
ServiceStartMode.
- Add a prompt when activation is successful, and automatically determine Windows 10/Windows 11 features.
- With Windows 11 Build 22000, PowerShell calls .NET to get
System.Environment.OSVersion.Version: 
- However, it is strange that I get
6.2.9200.0with the C# interactive window compiler, which seems to be related toapp.manifest. 
- It seems that both the introduction and the Readme of this GitHub repository can be added to Windows 11.
内容来源: TGSAN/CMWTAT_Digital_Edition