13

I have difficulties to find anything related to Windows firewall (about how to add aplications to except list, close ports or disable internet access to some applications) in C++. I found even MS site shows examples in Visual Basic.

Where I can find examples in C++?

Thanks

SamB
  • 9,039
  • 5
  • 49
  • 56
user436550
  • 131
  • 1
  • 1
  • 4

2 Answers2

24

Check the article Exercising the Firewall using C++ on MSDN.

Kirill V. Lyadvinsky
  • 97,037
  • 24
  • 136
  • 212
0

When working with Windows Vista and later, the Windows Firewall with Advanced Security API is also available.

RA.
  • 7,542
  • 1
  • 34
  • 35