"netsh" cmd Commands not being executed

Well, I am trying to set up some firewall-rules and such, the problem is non of the commands is being properly executed. I got to the conclusion while looking for why the server does not work. My approach was to try to delete the firewall rule after running the program, as of proof for that it existed in the first place, it turned out, it didn't, my code is:
Was this page helpful?