Log.Fatal("Unable to determine apphost version.");
{
Log.Error("Unable to determine apphost version automatically.");
varversion=Log.QueryString("Please enter the apphost version, you can find it in the entry point of the app (3.0, 3.1, 5): ");
varheaderOffset=uint.Parse(Log.QueryString("Please enter the Header offset \n(parse pdb, search for header_offset in names or\n use string reference 'Bundle Header Offset: [%lx]', find the .data ptr and enter its value): ").Replace("0x",""),System.Globalization.NumberStyles.HexNumber);