Windows Media Center SDK

Getting started with developing applications for windows media center.

Requerments

To develop applications for windows media center you need to have
the Windows Vista Home Premium or Windows Vista Ultimage installed.

For creating an application you need the Microsoft Visual Studio installed.
You need the .Net 2.0 Fremwork as well.

Steps
  • Download the windows media center sdk. SDK
  • Create a project. Under Virtual C# – Windows Media Center
    • Windows Media Center Presentation Layer Application
  • Add reference to Microsoft.MediaCenter.dll – this dll has the classes for
    the Media Center functionality.
  • ….
Registration of the Application in the Media Center

First the assembly has to be signed, because it has to go into the GAC

<application title="Windows Media Center Step By Step" id="{[GUID2]}"> 
          <entrypoint id="{[GUID3]}"
                  addin="MyProject.MyProject, MyProject,Culture=Neutral,Version=1.0.0.0,PublicKeyToken=[PublicKeyToken]" 
                  title="Step By Step"
                  description="A Windows Media Center Application"
                  ImageUrl=".\StepByStep.png"> 
                  <category category="More Programs"/>
          </entrypoint>
</application>

Installing the Application

First the assembly has to be installed in the GAC

gacutil.exe /if "Assembly name.dll"

References

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.