License​Changed​Event​Handler License​Changed​Event​Handler License​Changed​Event​Handler License​Changed​Event​Handler Delegate

Definition

Represents the method that will handle the LicenseChanged event.

public : delegate void LicenseChangedEventHandler()public delegate void LicenseChangedEventHandler()Public Delegate LicenseChangedEventHandler()// You can use this delegate in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

LicenseChanged events occur when the state of an app's license changes while the app is running. You can decide how to respond to these changes. For example, you could have the app respond immediately to the change or you could ignore it until the next time the user opens the app.

When using this event with CurrentAppSimulator, this event fires when you start up. When you run using the CurrentApp class it will only fire when there is a change in the License information.