以编程方式将异常添加到Windows Vista防火墙 [英] Programatically Add Exception to windows vista firewall

查看:137
本文介绍了以编程方式将异常添加到Windows Vista防火墙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能告诉我,有没有办法通过编程方式将.exe文件添加到Windows Vista防火墙的例外列表中,以使其正常运行?我正在使用VC ++。

解决方案

是 - 如果您查看WindowsFirewallAddApp方法这里,它应该给你一些想法如何做。


Can you please tell me, is there any way to programatically add an .exe file to the exception list for the Windows Vista firewall to allow it to run normally? I'm using VC++.

解决方案

Yes - if you take a look at the WindowsFirewallAddApp method here, it should give you some ideas how to do it.

这篇关于以编程方式将异常添加到Windows Vista防火墙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆