Struct ProcessInfo
This readonly struct provides information about a process.
public readonly struct ProcessInfo
- Inherited Members
Constructors
ProcessInfo(int, string, string, string)
Initializes a new instance of the ProcessInfo struct.
public ProcessInfo(int processId, string processName, string imageName, string executable)
Parameters
processIdintThe identifier for the process.
processNamestringThe name of the process.
imageNamestringThe Image Name of the process.
executablestringThe executable associated with the process.
Fields
Executable
Gets the Executable associated with the Process.
public readonly string Executable
Field Value
ImageName
Gets the Image Name of the Process.
public readonly string ImageName
Field Value
ProcessId
Gets the Identifier for the process.
public readonly int ProcessId
Field Value
ProcessName
Gets the name of the process.
public readonly string ProcessName