Ethernet Port Disable
-
wrote on 13 Feb 2024, 04:57 last edited by
how to disable Ethernet Port in Qt and also Enable again?
is there a solution through code in C/C++? i prefer using Qt.
Thanks in advance for your solution.
-
how to disable Ethernet Port in Qt and also Enable again?
is there a solution through code in C/C++? i prefer using Qt.
Thanks in advance for your solution.
@dan1973 There is for sure nothing in Qt for this as it is an OS/platform thing.
-
Hi,
In addition to @jsulm, this is an administrative task that will require higher privilege than a standard user.
The most likely way to do it would be using QProcess to run the tools however, you will have to somehow get higher level access for that to work.
1/3