Re: How to find the NM version?
- From: Dan Williams <dcbw redhat com>
- To: Raj Sidh <rajaram_s yahoo com>
- Cc: networkmanager-list gnome org
- Subject: Re: How to find the NM version?
- Date: Tue, 22 Sep 2009 21:40:03 -0700
On Tue, 2009-09-22 at 17:44 -0700, Raj Sidh wrote:
> Hello,
>
> I find that some NetworkManager dbus APIs are of older version in some distros (e.g. Ubuntu 8.04) whereas Fedora 9 seems to have what is listed under http://projects.gnome.org/NetworkManager/developers/spec.html which apparently is 0.7.0. How do I determine what version of NM I am running so I can make right choices (bus.GetDevices() vs. bus.getDevices() and similar) ?
Programmatically, you can use some tricks to figrue it out like you
mention, but Tambet also proposed the addition of a Version property on
the /org/freedesktop/NetworkManager base object that we can add to both
0.7.2 and 0.8+.
0.7.0 vs. 0.7.1 shouldn't be difference to care about, it's mostly
between 0.6, 0.7, and 0.8.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]