[DllImport("psapi.dll", SetLastError = true)] public static extern bool EmptyWorkingSet( IntPtr hProcess );
Microsoft documentation: Link
Last updated 1 year ago