Share via


ParentalControls Class

Provides a way for Windows Media Center 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 get this class, use the MediaCenterEnvironment.ParentalControls property.

Syntax

public sealed class ParentalControls : Dictionary<string, ParentalControlSetting>

Public Instance Methods

Method Description
GetAvailableRatingSystems Gets a collection of strings containing the names of the parental control settings that are currently supported.
PromptForPin Displays a page that requires the user to enter the four-digit parental control code before allowing access to restricted content.

See Also