.NET的XMPP开发包 MatriX
fmms
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> <ul> <li>完全兼容 RFC 3920, 3921, 6120, 6121</li> <li>跨平台: <ul> <li>Microsoft .NET Framework</li> <li>Microsoft .NET Compact Framework (Pocket PC, Smartphone, Windows CE)</li> <li>Silverlight</li> <li>Windows Phone</li> <li>Mono</li> </ul> </li> <li>Multi OS (Windows, Linux, Mac…)</li> <li>for client, server and web applications</li> <li>快速和轻量</li> <li>易于使用<br /> </li> </ul> <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> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1327501936359" target="_blank">http://www.open-open.com/lib/view/home/1327501936359</a></p> <p></p>