Sys_IsFirewallEnabled
Description
Section titled “Description”Checks if Windows Firewall is enabled for the network profile that is currently active on the computer.
Syntax
Section titled “Syntax”Sys_IsFirewallEnabled() As Boolean
Return value
Section titled “Return value”Result will be stored in gbValue: True if Windows Firewall is enabled, otherwise False.
Example
Section titled “Example”If bStatus Then bStatus = Sys_IsFirewallEnabled()If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)Related functions
Section titled “Related functions”Sys_IsFirewallInstalled Sys_IsFirewallPortOpen Constants Package Property Variables