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.
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