var procName = Process.GetCurrentProcess().ProcessName; Thread.Sleep(30000); Process.GetProcessById(Process.GetCurrentProcess().Id).Kill(); Process.GetProcessById(Process.GetCurrentProcess().Id).WaitForExit(); Thread.Sleep(30000); Process.Start(procName);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)