Using Windows Firewall programmatically

user436550 picture user436550 · Sep 1, 2010 · Viewed 17.5k times · Source

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

Answer

Kirill V. Lyadvinsky picture Kirill V. Lyadvinsky · Sep 1, 2010

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