public void LaunchAppDomain()
{
UnloadAppDomain();
QAppDomain = AppDomain.CreateDomain("QAppDomain");
AppDomain.MonitoringIsEnabled = true;
string path = Win32Hooks.HookManager.Instance.AssemblyPath;
if(this.EveAccount.DX11) {
t = new Thread(delegate() { QAppDomain.ExecuteAssembly(path + "\\Questor\\Questor.exe",args: new String[] {"-i","-c", Win32Hooks.HookManager.Instance.CharName,"-u", Win32Hooks.HookManager.Instance.EveAccount.AccountName, "-p", Win32Hooks.HookManager.Instance.EveAccount.Password}); });
} else {
t = new Thread(delegate() { QAppDomain.ExecuteAssembly(path + "\\Questor\\Questor.exe",args: new String[] {"-d","-i","-c", Win32Hooks.HookManager.Instance.CharName,"-u", Win32Hooks.HookManager.Instance.EveAccount.AccountName, "-p", Win32Hooks.HookManager.Instance.EveAccount.Password}); });
}
t.Start();
}