ParentalControlSelector Object

Provides a way for HTML applications to select the type of parental control settings to query. An application can query the current parental control settings for movie or TV viewing. To retrieve this object, use the MediaCenter.ParentalControl property.

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 ParentalControlSelector object exposes the following properties:

Property Description
SettingNames Gets a string containing the names of the currently supported parental control settings.

The ParentalControlSelector object exposes the following methods:

Method Description
GetSetting Gets the ParentalControlSetting object representing the current parental control settings for movie or TV viewing.
PromptForParentalControlPin Displays a page that requires the user to enter the four-digit parental control code before allowing access to restricted content.

See Also