none
Listing out the games installed in Windows 10 machine RRS feed

  • Question

  • I have tried packagemanager classes to get the list of installed packages in windows 10 machine. 

     PackageTypes type = PackageTypes.Main;
     IEnumerable<Package> packages = (IEnumerable<Package>) packageManager.FindPackagesWithPackageTypes(type);

    When I used the above code, getting all packages including games installed ,

    but how can I separate only games from the list?

    Tuesday, January 21, 2020 7:35 AM

All replies

  • The short answer - you can't.  There is nothing in Windows to differentiate a game from any other type of app.  

    Lloyd Sheen

    Tuesday, January 21, 2020 5:09 PM
  • Thanks for the reply, Is there any other way to find out list of games installed in windows 10 machine using c++ or any other languages?
    Wednesday, January 22, 2020 5:48 AM
  • Think about it, what defines a game.  Not the name, not the fact that it is an app.  There really is no way to separate games from other apps on a PC.

    Lloyd Sheen

    Wednesday, January 22, 2020 4:58 PM