namespace ElectronNET.API.Entities
{
///
/// Process metrics information.
///
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 in milliseconds since Unix epoch. Can exceed Int32 range and may contain fractional milliseconds.
///
public double 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; }
///
/// The name of the process.
/// Examples for utility: Audio Service, Content Decryption Module Service, Network Service, Video Capture, etc.
///
public string Name { get; set; }
///
/// The non-localized name of the process.
///
public string ServiceName { get; set; }
}
}