Pub Package

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.

Libraries

nm