Providing Contextual Information for Launching an Entry Point
The entry point can determine contextual information when it is launched using the following information:
The context attribute of the entrypoint element from the application registration XML provides an arbitrary string of data.
Windows Media Center web applications use the context attribute to specify the URL of the entry point. To use the context attribute in this scenario, use and parse arguments in the http URL.
The AddInHost.MediaContext property provides an array of metadata associated with the media playing when the entry point is launched.