private void Start() { foreach (var p in Process.GetProcessesByName("TestApp.exe")) { p.Kill(); } AppModel = new AppModel(); AppModel.Init(); foreach (var hm in AppModel.HookableMethods) { hm.HookIt = true; } UIApiAsync(CancellationToken.None); //TestApp(); //TestAppRpc(); }