title: What are the differences between kill process and close process?
body: <p>When I start a process and want to close this process, what are the differences between <code>Process.Close()</code> and <code>Process.Kill()</code>?</p>
  
  <p>I asked because I have an application which starts to capture packet using Wireshark with a command via command line with <code>Windows = hidden</code>.
  so when I want to stop the capturing I kill the process .So sometimes the capture opens with an error that the last packet was cut in the middle so I am wondering can using <code>close()</code> before <code>kill()</code> will solve this issue ?</p>
  
  <p>When I start capturing I can close it by pressing Ctrl + C but in my case I open the window in hidden state, Can I do something similar via my code ?</p>