Advertisement
Guest User

Untitled

a guest
May 29th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.44 KB | None | 0 0
  1.         internal void LaunchClient()
  2.         {
  3.             Process client = new Process();
  4.             client.StartInfo = new ProcessStartInfo("client.exe");
  5.             client.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
  6.             client.StartInfo.Arguments = "-n"; ///WTF DOES THIS DO!?! WHY AM I USING IT!?!
  7.  
  8.             client.Start();
  9.  
  10.             webClient.Dispose();
  11.             Process.GetCurrentProcess().Kill();
  12.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement