I have a fairly large cache of intermediate results that I would like to flush when my application is running low on memory. I found SystemEvents.LowMemory as a possible means of detecting the low memory situation, however this method is mark obsolete and hence I do not want to use it. I've not been able to find an alternative.
Microsofts documented obsolete member page unfortunately does not provide a recommended alternative to this event.
https://learn.microsoft.com/en-us/dotnet/framework/whats-new/obsolete-members