Is it possible to get the size of system available memory in C#.NET? if yes how?
This answer is based on Hans Passant's. The required property is AvailablePhysicalMemory actually. and it (and TotalPhysicalMemory and others) are instance variables, so it should be
new ComputerInfo().AvailablePhysicalMemory
It works in C#, but I wonder why this page says that for C#, "This language is not supported or no code example is available."