Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Member Functions | List of all members
org.sleuthkit.autopsy.coreutils.Win32Process Class Reference

Public Member Functions

List< Win32ProcessgetChildren () throws Exception
 
void terminate ()
 

Protected Member Functions

void finalize () throws Throwable
 

Detailed Description

Class that represents a Windows process. It uses JNA to access the Win32 API. This code is based on http://stackoverflow.com/questions/10124299/how-do-i-terminate-a-process-tree-from-java

Definition at line 37 of file Win32Process.java.

Member Function Documentation

void org.sleuthkit.autopsy.coreutils.Win32Process.finalize ( ) throws Throwable
protected

Definition at line 95 of file Win32Process.java.

List<Win32Process> org.sleuthkit.autopsy.coreutils.Win32Process.getChildren ( ) throws Exception

Get children of current process object.

Returns
list of child processes
Exceptions
IOException

Definition at line 114 of file Win32Process.java.

Referenced by org.sleuthkit.autopsy.coreutils.ExecUtil.terminateProcess().

void org.sleuthkit.autopsy.coreutils.Win32Process.terminate ( )

Kill the process. Note that this does not kill children.

Definition at line 103 of file Win32Process.java.

Referenced by org.sleuthkit.autopsy.coreutils.ExecUtil.terminateProcess().


The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Thu Oct 6 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.