Home All Groups Group Topic Archive Search About

How to: check for firewall blocking?

Author
29 Jun 2006 5:16 PM
Rob R. Ainscough
Is there a way to check to see if a firewall is going to block my apps
communication?  .NET 2.0

I've seen some more recent Microsoft games that were able to test for
blocking and then prompt the user if they would like to add the application
to the "unblock list".  This functionality is what I'm looking for, any
suggestions?

This is for Windows Form App.

Thanks, Rob.

Author
29 Jun 2006 5:37 PM
Dominick Baier [DevelopMentor]
There is a C API and IIRC a WMI interface...

in the SDK the start page can be found here:
ms-help://MS.MSSDK.1033/MS.WinSDK.1033/ics/ics/windows_firewall_start_page.htm

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

Show quoteHide quote
> Is there a way to check to see if a firewall is going to block my apps
> communication?  .NET 2.0
>
> I've seen some more recent Microsoft games that were able to test for
> blocking and then prompt the user if they would like to add the
> application to the "unblock list".  This functionality is what I'm
> looking for, any suggestions?
>
> This is for Windows Form App.
>
> Thanks, Rob.
>
Author
29 Jun 2006 6:58 PM
Rob R. Ainscough
Thanks for the response, but the link isn't working in my VS help system.


Show quoteHide quote
"Dominick Baier [DevelopMentor]" <dbaier@pleasepleasenospamdevelop.com>
wrote in message news:4580be631a1a368c869ca9fd12d67@news.microsoft.com...
> There is a C API and IIRC a WMI interface...
>
> in the SDK the start page can be found here:
> ms-help://MS.MSSDK.1033/MS.WinSDK.1033/ics/ics/windows_firewall_start_page.htm
>
> ---------------------------------------
> Dominick Baier - DevelopMentor
> http://www.leastprivilege.com
>
>> Is there a way to check to see if a firewall is going to block my apps
>> communication?  .NET 2.0
>>
>> I've seen some more recent Microsoft games that were able to test for
>> blocking and then prompt the user if they would like to add the
>> application to the "unblock list".  This functionality is what I'm
>> looking for, any suggestions?
>>
>> This is for Windows Form App.
>>
>> Thanks, Rob.
>>
>
>
Author
30 Jun 2006 5:33 AM
Dominick Baier [DevelopMentor]
it is the platform SDK - not VS help

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

Show quoteHide quote
> Thanks for the response, but the link isn't working in my VS help
> system.
>
> "Dominick Baier [DevelopMentor]"
> <dbaier@pleasepleasenospamdevelop.com> wrote in message
> news:4580be631a1a368c869ca9fd12d67@news.microsoft.com...
>
>> There is a C API and IIRC a WMI interface...
>>
>> in the SDK the start page can be found here:
>> ms-help://MS.MSSDK.1033/MS.WinSDK.1033/ics/ics/windows_firewall_start
>> _page.htm
>> ---------------------------------------
>> Dominick Baier - DevelopMentor
>> http://www.leastprivilege.com
>>> Is there a way to check to see if a firewall is going to block my
>>> apps communication?  .NET 2.0
>>>
>>> I've seen some more recent Microsoft games that were able to test
>>> for blocking and then prompt the user if they would like to add the
>>> application to the "unblock list".  This functionality is what I'm
>>> looking for, any suggestions?
>>>
>>> This is for Windows Form App.
>>>
>>> Thanks, Rob.
>>>