Hi all,

I'm writing a simple python script to manage a broadband connection.

I'm using the Disconnect() method from Device interface to close
connection, that works fine with the 0.8 version, and on the 0.7 version
I need to use the DeactivateConnection ( o: active_connection ) method
from NetworkManager interface.

My question is, what is the best approach to verify API version and call
the correct method.

Cheers
Maxwell

 
Legal Disclaimer:
The information contained in this message may be privileged and confidential. 
It is intended to be read only by the individual or entity to whom it is 
addressed or by their designee. If the reader of this message is not the 
intended recipient, you are on notice that any distribution of this message, in 
any form, is strictly prohibited. If you have received this message in error, 
please immediately notify the sender and delete or destroy any copy of this 
message

_______________________________________________
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to