正在寻找即时消息传递库,例如 libpurple,但用 C# 编写

发布于 2024-08-09 17:24:03 字数 58 浏览 3 评论 0原文

我正在寻找一个至少支持 YM、MSN 协议的即时消息库 - 最好是免费的,但如果值得付费,为什么不呢。

I'm looking for an Instant Messaging library that at minimum supports YM, MSN protocol - preferably free but if it's worth to pay, why not.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

没有心的人 2024-08-16 17:24:03

msnp-sharp 是用 C# 编写的 MSN 开源协议。您可以从 http://code.google.com/p/msnp-sharp/ 获取它。它非常活跃。

但我对雅虎 IM 协议没有任何经验。此链接显示在 Google 搜索 YM Trainer 中。如果您不知道的话,请尝试一下 http://www.ycoderscookbook.com/

msnp-sharp is the open source protocol written in c# for MSN. You can get it from http://code.google.com/p/msnp-sharp/ . Its very active.

But i don have any experience with yahoo IM protocol. This link showed up in google search YM Trainer. And Just give a try http://www.ycoderscookbook.com/, incase you are not aware of.

归途 2024-08-16 17:24:03

首先,您是否看过 libpurple-sharp 是 libpurple 的 .NET 绑定。即使该项目尚未发布包,那里已经有很多代码,也许对于您的应用程序来说已经足够了。

我认为实现对 libpurple 一样多协议的支持的唯一方法是使用 libpurple 或将其移植到 .NET。

First of all, have you had a look at libpurple-sharp which are .NET bindings for libpurple. Even if the project hasn't released a package, there is a lot of code there already and perhaps it is enough for your application.

I think that the only way that you will achieve support for as many protocols as libpurple is to either use libpurple or port it to .NET.

时光礼记 2024-08-16 17:24:03

我从未听说过 .NET 的多协议 IM 库...但是,几乎所有协议都有单独的实现。如果您确实需要它,我建议您创建自己的库;)。

我可以看到执行此操作的两个主要选项:

  • 为 libpurple 创建 .NET 包装器
  • 使用现有的单独协议实现,提取适合所有协议实现的抽象级别,然后将它们放在一起。

我认为第一种方法是最好的,因为抽象级别可能已经存在于 libpurple 中。不管你选择哪一个,反正都会有很多工作......

I've never heard of a multi-protocol IM library for .NET... there are separate implementations for almost all protocols, however. If you really need that, I suggest you create your own library ;).

I can see 2 main options for doing that :

  • Create a .NET wrapper for libpurple
  • Use the existing separate protocol implementations, extract an abstraction level that fits all of them, and put them all together.

I think the first approach is the best, because the abstraction level probably already exists in libpurple. Whichever you choose, it's going to be a lot of work anyway...

初懵 2024-08-16 17:24:03

根据这篇帖子

Jabber-net: "一组用于发送和接收可扩展消息和状态协议 (XMPP) 的 .Net 控件,也称为 Jabber "。

As per this post

Jabber-net: "A set of .Net controls for sending and receiving Extensible Messaging and Presence Protocol (XMPP), also known as the Jabber. "

夕嗳→ 2024-08-16 17:24:03

根据您想要执行的操作,您可以运行 Pidgin 并使用 DBUS (nDBUS IIRC)“监听”事件。

这将允许您在 .NET 代码中响应来自 Pidgin 的事件(就像当前登录的用户收到一条消息)。

Depending on what you want to do you can run Pidgin and "listen" to events with DBUS (nDBUS IIRC).

This will allow you to respond to events from Pidgin in .NET code (like the currently logged in user receives a message).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文