【问题标题】:Using Windows Firewall programmatically以编程方式使用 Windows 防火墙
【发布时间】:2010-09-01 02:52:12
【问题描述】:

我很难在 C++ 中找到与 Windows 防火墙相关的任何内容(关于如何将应用程序添加到除列表、关闭端口或禁用对某些应用程序的 Internet 访问)。我发现甚至 MS 网站都显示了 Visual Basic 中的示例。

在哪里可以找到 C++ 中的示例?

谢谢

【问题讨论】:

    标签: c++ firewall windows-firewall-api


    【解决方案1】:

    查看 MSDN 上的文章Exercising the Firewall using C++

    【讨论】:

    • 谢谢基里尔,你能粘贴其他链接吗?
    • @returner,查看来自 codeproject.com 的 this 示例
    【解决方案2】:

    在使用 Windows Vista 及更高版本时,Windows Firewall with Advanced Security API 也可用。

    【讨论】:

      猜你喜欢
      • 2012-03-17
      • 2014-09-10
      • 1970-01-01
      • 2023-03-31
      • 2010-11-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-16
      相关资源
      最近更新 更多