如何从 C# 代码中打开如下所示的 Windows 设置?我并不是要操纵它们,而只是为用户打开它们。
抱歉,我什至不知道这个问题的正确关键字。
(屏幕截图为德语。)
编辑:(除了答案)
- 在
C:\Windows\System32\
中搜索*.cpl
或*.msc
。几个有趣的:- 防火墙.cpl
- hdwwiz.cpl
最佳答案
尝试运行 Network-Adapter-Settings
ProcessStartInfo startInfo = new ProcessStartInfo("NCPA.cpl");
startInfo.UseShellExecute = true;
Process.Start(startInfo);
关于c# - 如何从 C# 中的代码打开 Windows 设置页面?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29891963/