【问题标题】:Programatically remove wifi (Wireless Network Connection) icon from system tray (notification area) in Windows 7以编程方式从 Windows 7 中的系统托盘(通知区域)中删除 wifi(无线网络连接)图标
【发布时间】:2012-07-05 07:42:31
【问题描述】:

我想使用 C# 从系统托盘中删除 wifi 通知图标。如何做到这一点?

修改

我不想禁用 wifi 或任何其他网络连接而是隐藏。

【问题讨论】:

    标签: c# .net system-tray notification-area


    【解决方案1】:

    您需要删除网络系统通知图标。以下注册表命令应该为您执行此操作。您可以通过regedit regcmd.reg 之类的命令行运行该命令,或者简单地使用 C# 手动添加密钥。有关更多信息,请参阅article

    【讨论】:

    • 我会尝试并告知。感谢地理目标
    • 我通过编程方式尝试了这两种方法 (Process regeditProcess = Process.Start("regedit.exe", "/s Disable_Network_Notification_Icon.reg"); regeditProcess.WaitForExit();) & 双击 reg 文件 &重新启动机器(在 XP 中测试)。没啥事儿。我仍然可以访问 wifi 并在系统托盘上更改它。是因为 XP 吗?
    • 这适用于 Windows 7。XP 有不同的命令。搜索谷歌了解更多信息。
    • 这非常适合我在 Windows 7 中的要求。感谢 Geotarget。
    猜你喜欢
    • 1970-01-01
    • 2011-10-14
    • 1970-01-01
    • 2023-01-27
    • 2012-01-10
    • 2013-04-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多