i am writing a software which disables the Internet for a given Time. The Windows Version is running well, the GUI works on MAC too. What i can't get done, is the main Task of turning the Internet (Airport and Lan) off and back on.
It would be possible to use ipconfig, but any Idea is appreciated. What I would need from you is code using the I am writing in Free Pascal (FPC) using Lazarus, so i would have to port the code you write, or you execute your binary. Most important thing would be to set admin-rights through [url removed, login to view] Authorization.
I know this is not a very exact description, but whoever provides me a solution to my problem will get paid. As this is a privat project, i cannot pay very much, but 50$ should be quickly earned for a skilled OSX-Developer.