mnSetFirewallEnabled

This command is used to enable or disable windows firewall.

You can use mnGetFirewallEnabled to determine the status of this option

Parameters

unsigned int ProfileID: This is the ID of the profile that the command should use.

bool Boolean: True to set the option to enabled, false to set the option to disabled.

Returns (Integer)

1 if no error occurred.

-1 if an error occurred.

Present in

DBP

C++

.Net




This page is in the following sections:
(2) Firewall Profiles
(1) Windows Firewall
(0) DarkNet Help