public void TestMethod3andabit()
        {
            var config = new PsToolsConfig()
            {
                ExecPath = @"C:\PSTools\PsExec.exe",
                KillPath = @"C:\PSTools\PsKill.exe",
                ToolTimeout = TimeSpan.FromMilliseconds(10000)
            };

            using (var notepad = new PsToolsOwningProcess(Environment.SystemDirectory + "\\notepad.exe", "localhost", config, x => x.Kill()))
            {
                notepad.Start();
                Thread.Sleep(500);
            }
        }
        public void TestMethod3andabit()
        {
            var config = new PsToolsConfig()
            {
                ExecPath    = @"C:\PSTools\PsExec.exe",
                KillPath    = @"C:\PSTools\PsKill.exe",
                ToolTimeout = TimeSpan.FromMilliseconds(10000)
            };

            using (var notepad = new PsToolsOwningProcess(Environment.SystemDirectory + "\\notepad.exe", "localhost", config, x => x.Kill()))
            {
                notepad.Start();
                Thread.Sleep(500);
            }
        }