LicenseInformation.ProductLicenses 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 associative list of licenses for in-app products that the user is currently entitled to.
public:
property IMapView<Platform::String ^, ProductLicense ^> ^ ProductLicenses { IMapView<Platform::String ^, ProductLicense ^> ^ get(); };
IMapView<winrt::hstring, ProductLicense const&> ProductLicenses();
public IReadOnlyDictionary<string,ProductLicense> ProductLicenses { get; }
var iMapView = licenseInformation.productLicenses;
Public ReadOnly Property ProductLicenses As IReadOnlyDictionary(Of String, ProductLicense)
Property Value
The associative list of feature licenses.
Remarks
To determine if the user is entitled to the in-app products, use the IsActive property of the ProductLicense objects.
Important
The returned list of ProductLicense objects will always represent all in-app products that the user is currently entitled to (where IsActive = true). However, this list may or may not also contain ProductLicense objects for products that the user is not currently entitled to (where IsActive = false).