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.