Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

False indication of Firewall status by get_FirewallEnabled()

I want to know status of Windows Firewall (whether ON or OFF). I am making use of get_FirewallEnabled() from Firewall WIN32 API (PSDK). But this method returns me FALSE i.e. Firewall is OFF, even if Firewall is ON.

I have ensured that the Firewall is ON and also that Windows Firewall/ICS Service is running.

Can anyone tell what is wrong happening here?
:confused:
[388 byte] By [SangN] at [2007-11-11 7:35:48]