/// <summary> /// Récupère la version logicielle du contact /// </summary> public void getVersion() { if (Jabber.xmpp.Authenticated && status.type != Enums.StatusType.Unavailable && status.type != Enums.StatusType.Invisible) { agsXMPP.protocol.iq.version.VersionIq viq = new agsXMPP.protocol.iq.version.VersionIq(); viq.From = Jabber.xmpp.MyJID; viq.To = new Jid(identity.jabberID.full); viq.Type = agsXMPP.protocol.client.IqType.get; viqID = viq.Id; Jabber.xmpp.IqGrabber.SendIq(viq, new IqCB(getVersionResult), null); } }