System.Diagnostics.Process.GetWaitState C# (CSharp) Method