Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionProcess compiler = new Process(); compiler.StartInfo.FileName = "ipconfig"; compiler.StartInfo.UseShellExecute = false; compiler.StartInfo.RedirectStandardOutput = true; compiler.Start(); textBox1.Text = compiler.StandardOutput.ReadToEnd().ToString(); compiler.WaitForExit();