我开发了一个实用程序,它将获得列表中所有服务器的时间.
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()
Run Code Online (Sandbox Code Playgroud)
执行此代码时.Cmd提示屏幕即将到来.我想将其隐藏起来.我能做些什么?