很稳定的,我已经测试过!
/// 执行DOS命令
/// </summary>
///// <param name="FtpIP">测试端IP</param>
///// <returns></returns>
//public static void GetPrecess(string FtpIP)
//{
// Process p = new Process();
// p.StartInfo.FileName = "cmd.exe";
// p.StartInfo.UseShellExecute = false;
// p.StartInfo.RedirectStandardInput = true;
// p.StartInfo.RedirectStandardOutput = true;
// p.StartInfo.RedirectStandardError = true;
// p.StartInfo.CreateNoWindow = true;