Windows Firewall

  • Thread starter Thread starter chris.dannemiller
  • Start date Start date
C

chris.dannemiller

I am looking to perform the following actions

1. Detect if the Windows Firewall exists, and is enabled, if
it is not the case no action will be taken.
2. See if the application and ports are already Exceptions if
so do nothing.
3. Post a message to the user that the firewall will block
the application and allow the user to decide if he would like to add
an exception, similar to what Visual Studio 2005 does with remote
debugging.
 
Hello chris,

Look at Internet Connection Sharing and Internet Connection Firewall
http://msdn2.microsoft.com/en-us/library/Aa366319.aspx

and here http://www.codeproject.com/w2k/WinXPSP2Firewall.asp

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

cd> I am looking to perform the following actions
cd>
cd> 1. Detect if the Windows Firewall exists, and is enabled,
cd> if
cd> it is not the case no action will be taken.
cd> 2. See if the application and ports are already Exceptions
cd> if
cd> so do nothing.
cd> 3. Post a message to the user that the firewall will block
cd> the application and allow the user to decide if he would like to add
cd> an exception, similar to what Visual Studio 2005 does with remote
cd> debugging.
cd>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top