c# runas

                Process Proc = new Process();
                ProcessStartInfo ProcStartInfo = new ProcessStartInfo(textBox_Command.Text);
                ProcStartInfo.UseShellExecute = true;
                ProcStartInfo.Verb = "runas";
                Proc.StartInfo = ProcStartInfo;
                Proc.Start();

你可能感兴趣的:(NAS)