SetProgramBlocked
path is an absolute executable path. Enabling adds inbound and outbound firewall rules and closes current IPv4 TCP connections. Disabling removes the rules. Returns whether the firewall change succeeded.
Errors if path is empty, longer than 260, not absolute, or contains a " or control character.
Firewall rules cover IPv4 and IPv6. Connection teardown covers IPv4 only. Rules are removed when disabled, when the script unloads, reloads, or is disabled, and when the cheat closes normally.
IsProgramBlocked
true if this session has a block on path.
KillProgramConnections
path. It does not change the firewall and returns the number of connections dropped.
Cleanup
A crash may leave aStarline-NetBlock-* firewall rule behind. Re-block and unblock the program, or remove the rule in Windows Firewall.