As done by the .net commons, using a library that itself uses this technique: https://github.com/erri120/GameFinder/wiki/GOG-Galaxy