I am writing a small project in c# to add thumbnail icons to a bunch of game folders on my PC. Is it possible to get the title of a window without running the program creating that window?
EG: Let's say I have a game executable installed to "C:/games/ExampleGame/bin/game.exe", When launched it creates a window called "VG 1"
I need to retrieve the "VG 1" string without actually running game.exe.
The purpose behind needing the Window title is so that I can scrape some data using the game's actual name. In a situation where the folder containing the game is assumed to be incorrect or inaccurate, and the executable is assumed to be named something generic.