you have to parse those information yourself, tryusing System;
using System.IO;
using System.Diagnostics;class LaunchDirCommand {
static void Main() {
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = "ping.exe";
psi.Arguments = "www.csdn.net";
psi.RedirectStandardOutput = true;
psi.UseShellExecute = false;
Process p = Process.Start(psi);
StreamReader stmrdr = p.StandardOutput;
string s = stmrdr.ReadToEnd();
stmrdr.Close();
Console.WriteLine(s);
}
}
also see
http://www.csharphelp.com/archives/archive6.html
using System.IO;
using System.Diagnostics;class LaunchDirCommand {
static void Main() {
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = "ping.exe";
psi.Arguments = "www.csdn.net";
psi.RedirectStandardOutput = true;
psi.UseShellExecute = false;
Process p = Process.Start(psi);
StreamReader stmrdr = p.StandardOutput;
string s = stmrdr.ReadToEnd();
stmrdr.Close();
Console.WriteLine(s);
}
}
also see
http://www.csharphelp.com/archives/archive6.html
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货