Share via


Introduction to the Microsoft Lync 2010 Managed API - Working with Automation

Version: 1.0

Description

The Microsoft Lync 2010 Managed API is a rich and full-featured client API that combines the automation capabilities of the Office Communicator Automation API with the flexibility and functionality of the UCC API. The Microsoft Lync 2010 API provides the UIAutomation class to enable you to launch conversations, add contacts and automate Microsoft Lync 2010 within their applications.

Overview

Lab Time: 45 Minutes

Lab Folder: C:\%Office365TrainingKit%\Labs\9.3\Source\Before

Note:
The After folder contains the completed lab exercises.

Lab Overview: The Microsoft Lync 2010 Managed API is a rich and full-featured client API that combines the automation capabilities of the Office Communicator Automation API with the flexibility and functionality of the UCC API. The Lync 2010 Managed API provides the Automation class to enable you to launch conversations, add contacts, and automate Lync within your applications.

The Lync 2010 Managed API also provides a rich object model that developers can use to build their own communications-enabled applications without the Lync 2010 UI.

In this lab solution, you will use the Lync 2010 Managed API to do the following:

  • Start an instant messaging conversation
  • Start an audio conversation
  • Start a desktop sharing conversation
  • Start a file transfer conversation
  • Dock and undock a conversation window
  • Prepare your application to sign in to Lync 2010
  • Set up event handlers for Lync events
  • Set up event handlers for Contact and Group events
  • Publish and retrieve presence items

System Requirements

You must have the following items to complete this lab:

  • Microsoft Visual Studio 2010
  • Microsoft Lync 2010
  • Microsoft Lync 2010 SDK
  • Two accounts (referred to as the primary and secondary lab users in this document), provisioned for Lync Online that are able to successfully sign in to Lync 2010.