Garage & Updates

Learn about the newest features, products and client updates for all platforms

Share

Share

SkypeUtilities.CommunicationsManager

A little while back when I was working on samples for the API documentation, I wanted to provide a snippet of code for every Skype API message. The problem was how to abstract it so it was easy to read and understand.

I worked with a few good friends of mine, Rob Macdonald and Tony Whitter who came up with a lightweight managed wrapper that takes away the complexities writing applications.

SkypeUtilities.CommunicationsManager is a simple library written in C# that performs all the Win32 API interaction required to establish communications with Skype, allowing you to concentrate on building Skype functionality into your applications.

]]>There are 2 ways to use SkypeUtilities.CommunicationManager:

  • You can use the compiled .NET assembly and reference it in your application. Useful if you application will not be written in C#.

  • You can use the provided source code and add it into your projects. Useful if you want to incorporate SkypeUtilities.CommunicationManager into your source code.

    Using the SkypeUtilities.CommunicationManager you can look at the API documentation which reads similar to:

    SET CALL < callId > STATUS INPROGRESS

    and use that message in your application as followed:


    if (callId != string.Empty)

    {

    string rawMessage = “SET CALL {0} STATUS INPROGRESS”;

    string message = string.Format(rawMessage,callId);

    skype.SendCommand(message);

    }

    In the zip file along with many different code snippets you’ll find a file called SkypeUtilities.CommunicationsManager.doc. This will explain more about the usage and how SkypeUtilities.CommunicationsManager works.

    These samples will find their way into the API documentation as we go forward, but I thought you might find them useful in the meantime.

    You can download the SkypeUtilities.CommunicationManger from the Extras Gallery

  • 3 thoughts on “SkypeUtilities.CommunicationsManager

    1. evanwolf said 2745 days ago

      What is the license on this code and the other code samples?

    2. lestermadden said 2744 days ago

      You are free to use and extend them, they are completely open source.

      If you make improvements it would be nice to upload revisions to the extras gallery for others to use, but that is not a condition of use.

      Lester

    3. rvowles said 2742 days ago

      This doesn’t work for me. It just hangs. I’m using Skype 1.4.0.84 – does it require a special version?

    Leave a Reply

    Please log in using one of these methods to post your comment:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Connecting to %s