0

After installation of the program is finished.

For windows 8, I need to problematically (in C#) or via bat script need to an executable to the firewall exception list in Windows 8 for at least outgoing connections,

can someone please advise I have already seen

Programmatically add an application to Windows Firewall

but this is OS specific and not for windows 8

Community
  • 1
  • 1
Ahmed
  • 14,503
  • 22
  • 92
  • 150
  • It hasn't really changed in Windows 8. You can still use the [netsh firewall shell commands](http://support.microsoft.com/kb/947709) to configure firewall exceptions. And in order to run these shell commands you must do it from a process which is elevated to administrator privileges. – Trevor Elliott Oct 30 '13 at 15:09

1 Answers1

-4

Go to the Windows 8 Start screen and simply type Firewall and opens the configuration.

In the menu choose New Rule, then you'll be able to add exception for your C#

Hope this helps

JoenMarz
  • 143
  • 3
  • 13