Get the video adapter Ram with more than 4gb of memory (in C# if possible)

Hi @ all,

I am using C# and WMI (Win32_VideoController-Klasse - Win32 apps | Microsoft Docs) and I have been trying to get the whole amount of video ram from the hardware. But the limit is 4095MB. There are some C++ solutions, which don’t seem to work properly. But there must be a C#-solution out there. Or at least that’s what I’m wishing for.

According to Microsoft there are some other solutions via Direct X and C++:

If only a C++ solution is possible, I could use a C++ external program to get the value and pass it to the application written in C#.

There is already a topic on the issue:

But there is no solution.

Best Regards