Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Kill() [1/2]

void System.Diagnostics.Process.Kill ( )
inline

Definition at line 1585 of file Process.cs.

1586 {
1588 if (!safeProcessHandle.IsInvalid && !global::Interop.Kernel32.TerminateProcess(safeProcessHandle, -1))
1589 {
1591 if (ex.NativeErrorCode != 5 || !global::Interop.Kernel32.GetExitCodeProcess(safeProcessHandle, out var exitCode) || exitCode == 259)
1592 {
1593 throw ex;
1594 }
1595 }
1596 }
SafeProcessHandle GetProcessHandle()
Definition Process.cs:1690

References System.Runtime.Serialization.Dictionary, and System.Diagnostics.Process.GetProcessHandle().

Referenced by System.Diagnostics.Process.Kill(), and System.Diagnostics.Process.KillTree().