Xeno-rat
Loading...
Searching...
No Matches
Plugin.Main.ProcessNode Class Reference
Collaboration diagram for Plugin.Main.ProcessNode:

Public Member Functions

 ProcessNode (Process process, string filePath)
 

Properties

Process Process [get]
 
int PID [get]
 
List< ProcessNodeChildren [get]
 
string FilePath [get]
 
string FileDescription [get]
 
string Name [get]
 

Private Member Functions

string GetFileDescription (string filePath)
 Gets the description of the file from the specified file path.
 

Constructor & Destructor Documentation

◆ ProcessNode()

Plugin.Main.ProcessNode.ProcessNode ( Process process,
string filePath )
inline
Here is the call graph for this function:

Member Function Documentation

◆ GetFileDescription()

string Plugin.Main.ProcessNode.GetFileDescription ( string filePath)
inlineprivate

Gets the description of the file from the specified file path.

Parameters
filePathThe path of the file for which the description is to be retrieved.
Returns
The description of the file, or "Unknown" if the file path is null or empty, or if an error occurs while retrieving the file description.

This method retrieves the file version information using the System.Diagnostics.FileVersionInfo.GetVersionInfo(string) method. If the file description is null, it returns "Unknown". If an exception occurs during the process, it also returns "Unknown".

Here is the caller graph for this function:

Property Documentation

◆ Children

List<ProcessNode> Plugin.Main.ProcessNode.Children
get

◆ FileDescription

string Plugin.Main.ProcessNode.FileDescription
get

◆ FilePath

string Plugin.Main.ProcessNode.FilePath
get

◆ Name

string Plugin.Main.ProcessNode.Name
get

◆ PID

int Plugin.Main.ProcessNode.PID
get

◆ Process

Process Plugin.Main.ProcessNode.Process
get

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