public static string GetApplicationFilePath()
{
var gamePath = GlobalSettings.Default.SEBinPath;
if (string.IsNullOrEmpty(gamePath))
{
// We use the Bin64 Path, as these assemblies are marked "AllCPU", and will work regardless of processor architecture.
gamePath = GetGameRegistryFilePath();
if (!string.IsNullOrEmpty(gamePath))
gamePath = Path.Combine(gamePath, "Bin64");
}
return gamePath;
}