Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 agsXMPP 库在 c# 中制作一个 jabber 应用程序。
我想知道如何从所有设备全局注销 JID。
从同一应用程序注销我使用的代码运行良好,如下所示
private void button2_Click(object sender, EventArgs e)//logout { x.SocketDisconnect();//x is the xmpp client connection name }
XmppClientConnection.Close();
然后等待 OnClose 事件作为通知。