CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2006
    Posts
    1

    Thumbs up URGENT :Retriving Windows Firewall Settings

    I am working on Visual Studio 6 on Windows XP.
    Current i need some help in retrieving ICMP settings of a particular Network Connection and security logging details of Windows Firewall Settings.

    Security logging details can be seen on the corresponding dialog:

    Open Windows Firewall Settings Dialog -> Click on Advanced Tab -> Click on Settings button of Security Logging section.
    You can find Logging Option and Log File Options.

    ICMP Seetins of a particular Network Connection can be seen on the correspoding dialog:
    Open Windows Firewall Settings Dialog -> Click on Advanced Tab -> Select a network Connection and click its Settings button-> Select the ICMP Tab.

    Can someone provide any interface and WMI class or an API which will help me in retrieving these settings.

  2. #2
    Join Date
    Aug 2005
    Posts
    133

    Re: URGENT :Retriving Windows Firewall Settings

    Why not to try lloking in the registry for the setting :
    HKLM,"SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy

    And usualy the firewall log file is :
    C:\WINDOWS\pfirewall.log
    Louis-Philippe Frenette
    Arobas Informatique Granby
    http://www.arobasinformatique.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured