Programming in C#

Windows Media Encoder SDK banner art

This topic describes what you should know when programming in Microsoft C#.

Note   In each C# project you must add references to the Windows Media Encoder SDK type libraries.

To add Windows Media Encoder SDK references to a C# project

  1. On the Project menu, click Add Reference, and then click the COM tab.
  2. Select the references you need for your application, as described in the following table, and then click the Select button.
    Reference Description
    Windows Media Encoder Required for all Windows Media Encoder applications.
    Windows Media Encoder Agent Required for applications that enable remote administration.
    Windows Media Encoder Agent Locator Required for applications that enable remote administration.
    Windows Media Encoder Device Control Required for applications that control an external digital device.
    Windows Media Encoder Preview Control Required for applications that display a window to preview input sources.
    Windows Media Encoder Time Compression Plug-in Required for applications that use the time compression plug-in.

To use the MSPropShell ActiveX control

  1. On the View menu, click Toolbox.
  2. In the Toolbox, right-click in the Components section, and then click Customize Toolbox.
  3. On the COM Components tab, click MS PropShell Ctrl Class.

See Also