IEditionUpgradeHelper interface (editionupgradehelper.h)

Allows the Windows Store to install a Windows product that the user purchased, to perform either an upgrade to the edition of Windows that the user currently has installed, or to replace a non-genuine copy of Windows with a genuine copy of Windows.

Inheritance

The IEditionUpgradeHelper interface inherits from the IUnknown interface. IEditionUpgradeHelper also has these types of members:

Methods

The IEditionUpgradeHelper interface has these methods.

 
IEditionUpgradeHelper::CanUpgrade

Checks if the user has sufficient permissions to upgrade the operating system, and prompts the user to run as an administrator if needed.
IEditionUpgradeHelper::GetGenuineLocalStatus

Retrieves whether the currently installed operating system is activated.
IEditionUpgradeHelper::GetOsProductContentId

Retrieves the content identifier that corresponds to the current installation of the operating system. The content identifier is used to look up the operating system product in the store catalog.
IEditionUpgradeHelper::ShowProductKeyUI

Displays the user interface through which the user can provide a product key to upgrade or get a genuine copy of the operating system.
IEditionUpgradeHelper::UpdateOperatingSystem

Upgrades the installed edition of the operating system to the edition that the user purchased in the Windows Store, or gets a genuine copy of the operating system.

Remarks

The methods of this interface do not download the binaries or bits necessary to perform the upgrade.

Requirements

   
Minimum supported client Windows 10 [desktop apps | UWP apps]
Minimum supported server Windows Server 2016 [desktop apps | UWP apps]
Target Platform Windows
Header editionupgradehelper.h