以编程方式使用 Windows 防火墙

发布于 2024-09-16 14:53:57 字数 148 浏览 4 评论 0原文

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

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

谢谢

I have difficulties to find anything related to Windows firewall (about how to add aplications to except list, close ports or disable internet access to some applications) in C++. I found even MS site shows examples in Visual Basic.

Where I can find examples in C++?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

じ违心 2024-09-23 14:53:57

查看文章使用 C++ 执行防火墙在 MSDN 上。

Check the article Exercising the Firewall using C++ on MSDN.

欢你一世 2024-09-23 14:53:57

使用 Windows Vista 及更高版本时,具有高级安全性的 Windows 防火墙 API 也可用。

When working with Windows Vista and later, the Windows Firewall with Advanced Security API is also available.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文