Page tree
Skip to end of metadata
Go to start of metadata

Description

Determines if a certain port is open in Windows Firewall

 

Syntax

Sys_IsFirewallPortOpen(iPort) As Boolean

 

Parameters

iPort (Integer)

Port number

 

Return value

Result will be stored in gbValue

 

Example

VBScript
If bStatus Then bStatus = Sys_Is FirewallPortOpen(12946)
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

 

Related functions

Sys_IsFirewallInstalled Sys_IsFirewallEnabled

  • No labels