"Ragid" <> wrote ...
> Since the msdn is not so clear I'll ask more specifically-
> 1. Does the "Advanced Security" version fully support the older one?
The "Windows Firewall" API works with XP SP2 and Vista. The "Windows
Firewall with Advanced Security" API only runs on Vista, however it is much
more powerful and flexible.
You cannot control the XP firewall using the newer ""Windows Firewall with
Advanced Security" API.
If you look on Codeproject.com, I think you'll find some sample Firewall
code.
> 2. What about Windows 7, and my question regarding backward compatability?
You can read this whitepaper from Microsoft for changes in Windows 7
Firewall APIs -
http://go.microsoft.com/fwlink/?LinkId=140050
Basically Win7 provides a superset of Vista APIs. Note "WFP" == "Windows
Filtering Platform", the underlying technology behind the Windows Firewall
with Advanced Security.
The Windows 7 Forums on MSDN are the best place for Win7 programming
information.
Hope it helps,
Andrew