ProductLicense.ProductId | productId property

Applies to Windows and Windows Phone

Gets the ID of an in-app product. This ID is used by the app to get info about the product or feature that is enabled when the customer buys it through an in-app purchase.

Syntax


var productId = productLicense.productId;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The ID specified in the Dashboard to identify this in-app product.

Remarks

The Product ID is the string that the app uses to identify the in-app offer. The Product ID is entered in the Advance features page of the Dashboard where it is associated with the description, price tier and lifetime. The same Product ID is used in the app to

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.winmd

See also

ProductLicense

 

 

Show:
© 2014 Microsoft