.NET的XMPP开发包 MatriX
webphp 13年前
<p>MatriX 是 e<strong>X</strong>tensible <strong>M</strong>essaging and <strong>P</strong>resence <strong>P</strong>rotocol (<strong>XMPP</strong>, 也叫 Jabber) 的开发包,采用 C# 编写,可用于 .NET 平台和 Sliverlight 技术。MatriX 提供完全的 .NET、.NET Compact 框架和 Sliverlight 支持。</p> <p>示例代码:</p> <pre class="brush:c#; toolbar: true; auto-links: false;"> // basic send message example var xmppClient = new XmppClient {XmppDomain = "jabber.org", Username = "user1", Password = "secret"}; xmppClient.OnRosterEnd += delegate {xmppClient.Send( new Message {To = "user2@jabber.org", Type = MessageType.chat, Body = "Hello World"});}; xmppClient.Open();</pre> <img title=".NET的XMPP开发包 MatriX" border="0" alt=".NET的XMPP开发包 MatriX" src="https://simg.open-open.com/show/e9f8de76779ccef51f52688cbc794760.jpg" width="600" height="546" /> <br /> <br /> 项目地址: <a href="/misc/goto?guid=4958188975562306708" target="_blank">http://www.ag-software.de/matrix-xmpp-sdk/</a> <p></p>