Looking for library for Instant Messaging, like libpurple, but written in C#
Asked Answered
G

5

7

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.

Goodoh answered 4/11, 2009 at 7:29 Comment(0)
C
8

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.

Connatural answered 11/11, 2009 at 17:53 Comment(0)
Z
8

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.

Zizith answered 11/11, 2009 at 21:33 Comment(1)
...either use libpurple or port it to .NET. Yes, and porting it would not bbe so simple, I suspect.Whitethroat
G
3

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...

Galsworthy answered 11/11, 2009 at 0:25 Comment(1)
.NET Wrapper for libpurple: code.google.com/p/libpurple-sharp . See also, Michael Dillon's response: #1672701Whitethroat
F
0

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. "

Froemming answered 4/11, 2009 at 7:34 Comment(1)
libpurbple do a bit more them xmpp, like msn, aim etc ... so depend on what he wants to doQuintinquintina
G
0

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).

Gooding answered 11/11, 2009 at 0:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.