Share via


MediaContext Object

Provides a way for HTML applications to discover the context in which the user clicked a More With This entry point.

Note   Hosted HTML has been deprecated. To use the new features of the Windows Media Center SDK, you must develop a Windows Media Center Presentation Layer application. However, if you still want to develop a hosted HTML application or update an existing application, you can download and use the previous version of the Windows Media Center SDK from the Microsoft Download Center.

The MediaContext object exposes the following properties:

Property Description
ContextName Gets the name of the current media context.

The MediaContext object exposes the following methods:

Method Description
GetProperty Gets the specified property for the current media context.
Properties Gets all properties for the current media context.

See Also