Programmatically Add Exception to windows vista firewall
问题 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++. 回答1: Yes - if you take a look at the WindowsFirewallAddApp method here, it should give you some ideas how to do it. 回答2: I don't know for certain about the Vista firewall, but I would defeinitely excpect that it is a violation of the security of any computer to allow programmatic access to firewall exception lists. I would be very surprised if