Microsoft.MediaCenter.Hosting Namespace
The following types are in the Microsoft.MediaCenter.Hosting namespace, which is in the microsoft.mediacenter.dll assembly.
The Microsoft.MediaCenter.Hosting namespace exposes the following classes:
Class | Description |
AddInHost | Enables applications to retrieve information about Windows Media Center and extend Windows Media Center's capabilities. |
ApplicationContext | Enables applications to be registered and unregistered. This interface also enables an application to determine whether it is the current foreground application in Windows Media Center. |
ApplicationSession | The base class that contains core functionality used by the PageSession and HistoryOrientedPageSession classes. |
HistoryOrientedPageSession | Enables applications to navigate to other pages. Contains an internal page stack that enables applications to track page navigation. |
Page | Retrieves information about the current MCML page and its properties. |
PageSession | Enables applications to navigate to other pages. |
PanelSession | Used for interactive TV applications and can only be invoked by data within the data stream from a TV tuner. |
ViewPort | Enables applications to set and retrieve information for the shared Now Playing or custom video view port. |
ViewPorts | Enables the application to retrieve the shared Now Playing or custom video view port. |
The Microsoft.MediaCenter.Hosting namespace exposes the following interfaces:
Interface | Description |
IAddInEntryPoint | Defines the entry point for a Windows Media Center application. |
IAddInModule | Enables applications to initialize when they start running, and to uninitialize before they close. |
The Microsoft.MediaCenter.Hosting namespace exposes the following enumeration:
Enumeration | Description |
InstallationOptions | Contains values that indicate any installation options for installing the application package. |
See Also