You can use Windows Management Instrumentation (WMI) to query Games Explorer for the data that it has about installed games on a system. Following is the WMI provider configuration required to access this data.
Namespace: ("\\\\.\\root\\CIMV2\\Applications\\Games")
InstalledGameProvider
Properties
| Property | Value | 
|---|---|
| Name | MS_InstalledGameProvider | 
| ClsId | {F382DA49-9148-4a22-AF78-C378DFC32D02} | 
| InitializeAsAdminFirst | False | 
| PerUserInitialization | False | 
| Pure | True | 
| Name | Type | Description | 
|---|---|---|
| InstanceID | String | GUID that represents this specific game instance. | 
| GameID | String | GUID that represents the Game ID. | 
| GDFBinaryPath | String | Path to the GDF binary. | 
| InstanceID | String | Specific resource ID for the GDF. | 
| Name | String | Name of the game as represented in the Windows registry. | 
| InstallScope | Enumerated Type | Game installation scope (GIS_CURRENT_USER or GIS_ALL_USERS). | 
| GameInstallPath | String | Game's installation directory. |