Programmatically add an application to Windows Firewall

Posted by RichieACC on Stack Overflow See other posts from Stack Overflow or by RichieACC
Published on 2008-09-22T08:13:38Z Indexed on 2010/03/16 19:41 UTC
Read the original article Hit count: 246

Filed under:
|
|

I have an application that is installed and updated via ClickOnce. The application downloads files via FTP, and therefore needs to be added as an exception to the windows firewall. Because of the way that ClickOnce works, the path to the EXE changes with every update, so the exception needs to change also. What would be the best way to have the changes made to the firewall so that it's invisible to the end user?

(The application is written in C#)

© Stack Overflow or respective owner

Related posts about c#

Related posts about Windows