Вопрос

Я планирую создать бот Yahoo Messenger, используя C#, но до сих пор я не могу найти надежного Messenger Yahoo, кроме PHP, Java и C ++. Есть ли такая библиотека в C#?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top