nm 0.0.0-dev.4 nm: ^0.0.0-dev.4 copied to clipboard
Provides a client to connect to NetworkManager - the service that manages network connections on Linux.
Provides a client to connect to NetworkManager - the service that manages network connections on Linux.
import 'package:dbus/dbus.dart';
import 'package:nm/nm.dart';
var systemBus = DBusClient.system();
var client = NetworkManagerClient(systemBus);
await client.connect();
print('Running NetworkManager ${client.version}');
await systemBus.close();
Contributing to nm.dart #
We welcome contributions! See the contribution guide for more details.