public void StopProcess() { var process = GetProcess(); process?.Kill(); } public static string AssemblyDirectory