namespace ElectronNET.API.Entities
{
///
///
///
public class ProcessMetric
{
///
/// Process id of the process.
///
public int PId { get; set; }
///
/// Process type (Browser or Tab or GPU etc).
///
public string Type { get; set; }
///
/// CPU usage of the process.
///
public CPUUsage Cpu { get; set; }
///
/// Creation time for this process. The time is represented as number of milliseconds since epoch.
/// Since the can be reused after a process dies, it is useful to use both the
/// and the to uniquely identify a process.
///
public int CreationTime { get; set; }
///
/// Memory information for the process.
///
public MemoryInfo Memory { get; set; }
///
/// Whether the process is sandboxed on OS level.
///
public bool Sandboxed { get; set; }
///
/// One of the following values:
/// untrusted | low | medium | high | unknown
///
public string IntegrityLevel { get; set; }
}
}