Share via


MediaCenter.PostalCode Property

Gets the user's postal code, if available.

Note   This property has been deprecated.

Syntax

  MediaCenter.PostalCode

Property Value

A read-only String containing the postal code. If the user has not provided a postal code, the property value is NULL. If the user's privacy settings block access to the postal code, attempting to read this property causes an exception.

Remarks

This property enables applications to be customized according to the user's location. For example, a news provider could use the postal code to determine what local news, sports, and weather information to provide.

Requirements

Platform: HTML application hosted within Windows XP Media Center Edition 2005 through Windows Vista

See Also