【发布时间】:2012-12-25 19:27:24
【问题描述】:
我开发了一个实用程序,可以获取列表中所有服务器的时间。
System.Diagnostics.Process p;
string server_name = "";
string[] output;
p = new System.Diagnostics.Process();
p.StartInfo.FileName = "net";
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StandardOutput.ReadLine().ToString()
在执行此代码时。 Cmd 提示屏幕即将到来。我想对用户隐藏它。我能为它做些什么?
【问题讨论】: