以编程方式向Windows Vista防火墙添加例外 [英] Programmatically Add Exception to windows vista firewall
本文介绍了以编程方式向Windows Vista防火墙添加例外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以通过任何方式以编程方式将.exe文件添加到Windows Vista防火墙的例外列表中,以使其正常运行?我正在使用VC ++.
Is there any way to programmatically add an .exe file to the exception list for the Windows Vista firewall to allow it to run normally? I'm using VC++.
推荐答案
是-如果您查看WindowsFirewallAddApp方法
Yes - if you take a look at the WindowsFirewallAddApp method here, it should give you some ideas how to do it.
这篇关于以编程方式向Windows Vista防火墙添加例外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文