What is your use case? It's easier to help if we know what you are
trying to accomplish.
Andrew
I just want to make Windows VPN connections up/down for an account as
Microsoft mail clients do. If Thunderbird could call extension's code
before/after making server connections, I hope I could make such an
extension.