Skype Logo Take a deep breath™.
Buy Skype Credit · Help ·
  • Download
  • Use Skype
  • Business
  • Shop
  • Account

SkypeUtilities.CommunicationsManager

By My status  on December 13, 2005 in Developer Blog.

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

  • View blog reactions

    Comments

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

    evanwolf | Tuesday, Dec 13

    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

    lestermadden | Wednesday, Dec 14

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

    rvowles | Friday, Dec 16

    Comment on this post

    (If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

    Back to index

    Subscribe to this blog
    What? Tell me more…

    using RSS Subscribe
    via Bloglines Subscribe in Bloglines
    using Newsgator Subscribe in NewsGator Online
    with MyYahoo
    with Google Add to Google
    with My AOL Add to My AOL
    with Anothr.com Subscribe by Anothr
    with netvibes Add to Netvibes
    with email Get email updates
    Skype Developer Newsletter

    Sign up now for all the latest news, tips and tricks on using Skype Public API.

    Developer Zone

    • Home
    • Docs
    • Tutorials
    • Download
    • Support
    • Certification
    • Blog
    • Community
    • Help
    • Find...
    Skype Blogs
    • Share Skype Blog
    • About Skype
    • Heartbeat
    • Developer Zone
    • Business
    • Jobs
    • Skype Prime
    • Skype Gear
    • Security
    • Garage
    • Mac
    • Linux
    • Eesti keeles
    • Töökuulutuste leht
    • 日本語
    • Česky
    • Deutsch
    • Français
    • Italiano
    • Brasil
    • United Kingdom
    • Svenska
    • Polski
    • United States

    Recent posts

    • New Skype Certified product in June -- Trend Micro WTP for Skype
    • Developer Zone version 3 is out there
    • Developer Zone down for maintenance
    • Skype for Business Showcase in Stockholm, Sweden
    • Skype sponsors Python Developer Conference (sold out)
    • Support updates and fixes in EM 2.0
    • New Skype Certified products in April
    • Update from Eion Robb and Brandon Holland
    • Long time partners... SDP, what's going on?
    • Time to Join Skype at the eBay DevCon

    Archives

    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • December 2006
    • November 2006
    • October 2006
    • September 2006
    • August 2006
    • July 2006
    • June 2006
    • May 2006
    • April 2006
    • March 2006
    • February 2006
    • January 2006
    • December 2005
    • November 2005
    • October 2005
    • September 2005
    • August 2005
    • July 2005
    About us · Partners · Jobs · Prices · Security
    Privacy policy · Legal · © 2008 Skype Limited