This documentation is archived and is not being maintained.


This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This sample application publishes your user colors and subscribes to the user colors of another user.

  1. On the Microsoft Visual Studio 2008 File menu, point to New and then choose Project. The New Project dialog box appears.

  2. In the Project types pane, choose Visual C# and then choose Windows.

  3. In the Templates pane, choose Console Application.

  4. Type the name of the project in the Name text box and then click OK. Visual Studio creates a new project.

  1. Replace Program.cs with the SampleUserColors.cs.

  2. Add SampleCommon.cs to the project.

  3. Press F5 to run the application in Debug mode.

  • Microsoft Visual Studio 2008 development system

  • .NET Framework 3.5 SP1 (installed automatically with Visual Studio 2008)

  • UcmaRedist.msi

  • UcgcRedist.msi