ProductLicense.ProductId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ID of an add-on (also called an in-app product or IAP). 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.
public:
property Platform::String ^ ProductId { Platform::String ^ get(); };
winrt::hstring ProductId();
public string ProductId { get; }
var string = productLicense.productId;
Public ReadOnly Property ProductId As String
Property Value
The ID specified in Partner Center to identify this add-on.
Remarks
The product ID is the string that the app uses to identify the add-on. You enter the product ID when submitting your add-on in Partner Center, where it is associated with the description, price tier and lifetime. For more information, see How to use product IDs for add-ons in your code.