Context. Get App License Async Method
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 license info for the current app, including licenses for add-ons for the current app.
public: virtual IAsyncOperation<StoreAppLicense ^> ^ GetAppLicenseAsync() = GetAppLicenseAsync;
/// [Windows.Foundation.Metadata.RemoteAsync] IAsyncOperation<StoreAppLicense> GetAppLicenseAsync();
[Windows.Foundation.Metadata.RemoteAsync] public IAsyncOperation<StoreAppLicense> GetAppLicenseAsync();
Public Function GetAppLicenseAsync () As IAsyncOperation(Of StoreAppLicense)
An asynchronous operation that, on successful completion, returns a StoreAppLicense object that contains license info for the current app, including add-on licenses.
The StoreAppLicense object returned by this method provides access to licenses for add-ons and other info, such as whether the license is active. If this method is called while the device is offline, it returns the cached value of the current licenses on the device. The OfflineLicensesChanged event is raised when the status of the app's license changes.
Saran dan Komentar
Kirim dan lihat umpan balik untuk