百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#25·CMWTAT_Digital_Edition

关于 UI、逻辑和提示的一些建议

作者: lc6464创建于 2021年8月14日更新于 2026年8月3日
  1. 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, and Light Mode, with the default being Follow System.
  2. 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.dll in some resources, but in Microsoft Docs, it is mentioned that Using this API is not recommended, use the INetworkListManager::GetConnectivity method instead., maybe you can try calling netlistmgr.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.
  1. 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:
  • Windows 11 Build 22000
  • However, it is strange that I get 6.2.9200.0 with the C# interactive window compiler, which seems to be related to app.manifest.
  • csi.exe
  1. It seems that both the introduction and the Readme of this GitHub repository can be added to Windows 11.

内容来源: TGSAN/CMWTAT_Digital_Edition

查看 GitHub 原文在 GitHub 查看讨论