Detailed Code
For this sample, we are going to create a console application in C#. The application requires that the UCMA 2.0 Software Development Kit (SDK) is installed, along with any of its prerequisites.
Start by running Microsoft Visual Studio 2008 and creating a new Microsoft Windows project for a console application using C#. Name the project PublishPresence.
At the top of the Program.cs file, add the following lines to reference the class libraries that the application uses.
using System.Configuration; using System.Security.Principal; using System.Security.Cryptography.X509Certificates; using System.Net; using System.Diagnostics; using Microsoft.Rtc.Signaling; using Microsoft.Rtc.Collaboration; using Microsoft.Rtc.Collaboration.Presence; ...
Get Programming for Unified Communications with Microsoft® Office Communications Server 2007 R2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.