Advertisement
Guest User

Untitled

a guest
Dec 18th, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. System.Diagnostics.Process process = new System.Diagnostics.Process();
  2. System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
  3. startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
  4. startInfo.FileName = "cmd.exe";
  5. startInfo.Arguments = "/C ipconfig /flushdns";
  6. process.StartInfo = startInfo;
  7. process.Start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement