To let me explain why I need to know, in my server launcher (for a game) someone requested that I added a 'Restart on Excessive Memory Usage' checkbox. So, after an hour or so of adventuring, I came here.
I just need to know how to read the memory usage of a running application and I can do the rest. I just have no idea how to do this withing a c# application.
Thank you for the help!