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.
SASL ANONYMOUS を使用して XMPP サーバーに接続したいと考えています。
商用利用可能なライブラリならどれでも使用できます。
これを行う方法と使用するライブラリに関するアドバイスはありますか?
いくつかのライブラリ (agsXMPP と jabber.net) のドキュメントを調べましたが、どちらでも匿名接続を行う方法がわかりませんでした。
ありがとう!
OnSaslStart イベントでは、Sasl 匿名メカニズムを選択できます
private void XmppCon_OnSaslStart(object sender, SaslEventArgs args) { args.Auto = false; Mechanism.GetMechanismName(MechanismType.ANONYMOUS); }