C++ example of libnm(Network Manager) to manipulate internet connection setting.
For API reference please check https://github.com/NetworkManager/NetworkManager.git
sudo apt install libnm-dev libglib2.0-dev
cd ~
git clone https://github.com/H-HChen/libnm_example.git
cd ~/libnm_example/example
cmake -Bbuild -H.
cmake --build build