Dim cmd As new Process()cmd.StartInfo.FileName = "tracert"cmd.StartInfo.Arguments = "baidu.com -h 1"
cmd.StartInfo.RedirectStandardOutput = Truecmd.StartInfo.RedirectStandardInput = Truecmd.StartInfo.UseShellExecute = Falsecmd.StartInfo.CreateNoWindow = True
cmd.Start()Dim info As String = cmd.StandardOutput.ReadToEnd()msgbox(Info)
----如果是连着wifi上网,对外的IP能获取吗?