雅虎通库 C#

发布于 2024-07-29 02:34:26 字数 100 浏览 3 评论 0原文

我计划使用 C# 创建 Yahoo Messenger 机器人,但到目前为止,我找不到可靠的 Yahoo Messenger,除了 PHP、Java 和 C++。 C#中有这样的库吗?

I'm planning to create Yahoo Messenger bot using C#, but until now, I cant find a reliable Yahoo Messenger, except in PHP, Java and C++. Is there a library like this in C#?

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

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

发布评论

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

评论(1

情栀口红 2024-08-05 02:34:26

好吧,我刚刚用 C# 创建了一个适用于聊天客户端(不是机器人)的 YMSG 库,所以我可以告诉您没有任何适用于 C# 的 YMSG 版本 16 的库。 (抱歉,这是针对我工作的公司,我无法发布任何来源)

但一切并没有丢失。 除了身份验证过程之外,该协议非常容易理解。 两件好事:

  1. 身份验证程序已被破译:http://www.carbonize。 co.uk/ymsg16.html。 它使用 HTTP 调用,但这在 C# 中很简单。 您可能遇到的唯一问题是挑战/响应字符串的散列。 不幸的是,没有办法分阶段实现它 - 它要么有效,要么无效

  2. WireShark 有一个非常彻底的 YMSG 解析器。 对我帮助很大。

(请注意,这涵盖了 Yahoo YIM 的 IM 部分 - 我不知道聊天“房间”是如何工作的)

祝你好运!

埃里克

Well, I just created a working YMSG library for a chat client (not a bot) in C#, so I can tell you there's nothing out there that works for YMSG version 16 for C#. (sorry it's for the company for which I work, I can't release any source)

But all is not lost. With the exception of the authentication procedure, the protocol is dirt simple to understand. Two good things:

  1. The authentication procedure has been deciphered: http://www.carbonize.co.uk/ymsg16.html. It uses an HTTP call, but that's simple in C#. The only part you might struggle with is the hashing of challenge/response strings. Unfortunately there's no way to implement it in stages - it either works or it doesn't

  2. WireShark has a dissector for YMSG that's pretty thorough. Helped me a lot.

(Note that this covers the IM portion of Yahoo YIM - I have no idea how the chat "rooms" work)

Good luck!

Eric

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