mnscript
StringResult Firewall.Disable()
Description ​
Disabled the firewall your terminal.
Returns ​
StringResult
- StringResult representing the success or failure of this operation
Example ​
msc
using System;
using Console;
using Firewall;
using Application;
//Request Admin Perms
Application.RequestAdminPrivilege();
StringResult disable = Firewall.Disable();
if ( disable.GetResult() ) {
Console.WriteLine("Firewall Disabled");
} else {
Console.WriteLine("Error: "..disable.GetString());
}