using System.Runtime.Versioning; namespace ElectronNET.API.Entities { /// /// Process memory info as returned by process.getProcessMemoryInfo(). /// Values are reported in Kilobytes. /// /// Up-to-date with Electron API 39.2 public class MemoryInfo { /// /// Gets or sets the amount of memory currently pinned to actual physical RAM. /// public int WorkingSetSize { get; set; } /// /// Gets or sets the maximum amount of memory that has ever been pinned to actual physical RAM. /// public int PeakWorkingSetSize { get; set; } /// /// Gets or sets the amount of memory not shared by other processes, such as JS heap or HTML content. Windows only. /// [SupportedOSPlatform("windows")] public int PrivateBytes { get; set; } } }