var fileprocess= new Process { StartInfo = new ProcessStartInfo { FileName = exePath, Arguments = arglist, UserName = username, Password = Password, Domain = domain, UseShellExecute = false, LoadUserProfile = true } }; fileprocess.Start(); fileprocess.WaitForExit(); fileprocess.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)