I need to execute an URL inside a Web services to manage a remote device. The format of my url is http://10.10.10.10/tgi/status.tgi?poweron=poweron
Actually I'm running a shell command to execute a curl but it's not so nice and I can't get a feedback error if needed.
I've search around and seen some things like WebClient or WebRequest but it fails to run with an error message (Connection has been closed)
Thx for help