I am using the GlobalMemoryStatusEx function to retrieve information about memory, but this function doesn\'t work correctly. It returns 0 for all properties. I
GlobalMemoryStatusEx
How about:
My.Computer.Info.TotalPhysicalMemory My.Computer.Info.AvailablePhysicalMemory