using (Process p = new Process()) { p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardOutput = true; p.StartInfo.CreateNoWindow = true; p.StartInfo.FileName = ConstantReference.General.Net; p.StartInfo.Arguments = @value; p.Start(); p.WaitForExit(); string output = p.StandardOutput.ReadToEnd(); //result here }
string output = p.StandardOutput.ReadToEnd() + " " + DateTime.Now.MilliSeconds;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)