By creating add-ins for the Windows Live Messenger 8.0 client, you can add new abilities to the client. This document explains how you can create add-ins and make them available to customers.
This release of the Messenger Add-in API relies on the Microsoft .NET Framework as the hosting platform. Using the Code Access Security feature of the .NET Framework, you can isolate add-ins from the system on which they run.
User Scenarios
Users install add-ins by way of the Messenger Options dialog box. Add-ins can perform a variety of functions; for example, users can designate an add-in as their "agent." The agent add-in acts on behalf of the local user, responding to messages from other users without intervention from the local user. The add-in may also change the local user's status, usertile, personal status message, and friendly name.
Configuring Your Development Environment
When creating add-ins, you can use any integrated developer environment such as Visual Studio® .NET 2005 (this is the recommended environment). You can also use Visual Studio Express, available as a free download from Microsoft.
If you use Visual Studio.NET 2005 or Visual Studio Express, you can take advantage of the following features:
- An add-in that automatically generates project templates.
- A snippet manager that you can use to easily reproduce code.
- A feature for auto-completion of function prototypes.
Note Add-ins must be compatible with .NET Framework version 2.0.
Languages
You can use any of the languages that interact with the .NET platform. That includes Visual Basic.NET, Visual J#, Visual C#, or Visual C++, as well as any other language that has a port to .NET. Such languages include python.net, perl.net, or cobol.net.
Configure Messenger to Support Add-Ins
Messenger 8.0 relies on a registry entry to indicate whether or not it supports add-ins. When the registry entry is set appropriately, Messenger provides controls on its Options pages for add-in options.
Important As a developer, you must set this registry entry in order to test your add-ins.
To instruct Messenger to support add-ins, configure the HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\AddInFeatureEnabled registry entry.
This is a DWORD entry with the following values:
| Value |
Description |
| 1 |
On. Messenger enables the add-in settings. Messenger honors all of the add-in settings and stores them with the user's per-passport settings. |
| 0 |
Off. Messenger does not show the add-in related user interface. Messenger does not support any add-in settings. |
Sourced from http://msdn2.microsoft.com/en-us/library/bb229391.aspx