dotMSN

dotMSN is a class library to make use of theMSN Messenger Service.The library is built in C# and can therefore be used by all languagesthe .NET environment supports. The library is easy to use because of aclean object oriented approach which is offered by a modern languagelike C#.You can use this library for example to create MSN bots or for use inalready existing applications who need to communicate through theMessenger service.

The library currently supports:

  • Connecting / disconnecting with the MSN Messenger service.
  • Fires events when contact go online or offline or change status
  • Automatically synchronizes contact lists and keep contact data up to date
  • Create/Remove contactgroups
  • Convenient enumerating through contacts in different lists
  • Request or receive conversations
  • Multiple users in one conversation
  • Send messages
  • Received messages include information about font, charset, color, decoration
  • Privacy settings of the contactlist owner
  • Provides hotmail inbox status
  • Error handling

There are still some things yet to be implemented:

  • Notify of new incoming e-mail messages
  • File transfer
  • Owner profile
  • Bugfixes probably

dotMSN is not yet open-source. As i don't knowwhat to do with it yet. The documentation will answer most of yourquestions anyway.

Documentation

The documentation can be found here

Download

The latest version is 0.8.1053beta. You candownload it here. This is the DLL simply reference this dll and youwill be able to use dotMSN (use namespace 'DotMSN'). Since this is myfirst release be aware of bugs and other flaws you come across. Pleasesend these errors to me (orphix@planet.nl). Ofcourse i'm also available for suggestions.
A simple example explaining how to use this library is also available.

dotMSN 0.8.1053beta
dotMSN Example

Resources

My two main resources about the protocol are:
http://www.hypothetic.org/docs/msn/index.php
http://www.venkydude.com/articles/msn.htm
I would like to thank the authors (Mike Mintz and venky_dude) of these documents for reverse-engineering the protocol.

About the author

My name is Bas Geertsema and you can contact me at: orphix@planet.nl

Projects

Recently Chad Myers from www.anetforums.com has implemented a thread-reply notification in their forum software using dotMSN.
If you are using dotMSN for a public project, please let me know!

Changelog

19 Nov 2002:

  • Changed IP adress from messenger server:64.4.13.58 to 64.4.13.17. This caused problems logging in. You can nowspecify your own server (if necessary) using the MessengerServerproperty.

Furthermore I would like to thank the peoplewho give me feedback about dotMSN, great job and let me know what coolthings you make using dotMSN :)

31 Sep 2002:

  • ContactOffline event will now work correctly

28 Jul 2002:

  • Fixed RequestConversation(). Due to somelast-minute changes the messaging only worked one way around. Thisshould be solved now.
  • Added 'ClientData' field to multiple classes. This provides more interaction with the client programmer
  • Fixed status change problems.
Twitter Digg Delicious Stumbleupon Technorati Facebook Email

No comments yet... Be the first to leave a reply!