Programming in C#
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
- On the Project menu, click Add Reference, and then click the COM tab.
- 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
- On the View menu, click Toolbox.
- In the Toolbox, right-click in the Components section, and then click Customize Toolbox.
- On the COM Components tab, click MS PropShell Ctrl Class.
See Also