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).
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for