Skip to content

Commit

Permalink
Annotate windows-related implementation of Kill method
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximLipnin committed Mar 17, 2021
1 parent 0c40365 commit b17ba76
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ public static void LeaveDebugMode()
}

/// <summary>Terminates the associated process immediately.</summary>
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("tvos")]
public void Kill()
{
using (SafeProcessHandle handle = GetProcessHandle(Interop.Advapi32.ProcessOptions.PROCESS_TERMINATE | Interop.Advapi32.ProcessOptions.PROCESS_QUERY_LIMITED_INFORMATION, throwIfExited: false))
Expand Down

0 comments on commit b17ba76

Please sign in to comment.