Preventing Access to Your Hosted HTML Application from the Windows Media Center Extender

Some hosted applications are not intended to be used in a Windows Media Center Extender session. For example, the Windows Media Center Extender session should not be used if an application requires the user to be in direct contact with the Windows Media Center PC (for example, to insert a DVD, connect a digital camera, and so on). Also, an application should not use the Windows Media Center Extender session if it serves video content in a format that the Windows Media Center Extender device does not support.

To prevent use of your application in a Windows Media Center Extender session, you can implement one of the following options:

  • Set the console attribute of the capabilitiesRequired element to "True" in your application's XML registration. For example:

    <capabilitiesRequired console="True" ></capabilitiesRequired>
    
  • On your home page, use the method described in the topic Detecting a Windows Media Center Extender Session and inform the user through an error message that your page is not designed for a Windows Media Center Extender device. This is the preferred method.

See Also