private static int int1024 = 1048576; ManagementObjectSearcher Vd = new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_VideoController"); ManagementObjectCollection Video = Vd.Get(); foreach (ManagementObject w in Video) { string gpuTotalMem = String.Format("{0} ", (Convert.ToDouble(w["AdapterRam"]) / int1024).ToString()); if (w["Caption"] != null) StringBild.AppendFormat("Ваша Видеокарта: {0} : {1} [Bytes]", w["Caption"], gpuTotalMem); } For the 2nd shows ( 2176 МБ ) - it's normal here!
And for the 1st shows ( 2048 MB ) - And there should be 2 ГБ
As shown by me:
Your Video Card: NVIDIA GeForce GTX 860M - (2048 MB)
Your graphics card: Intel (R) HD Graphics 4600 - (2176 MB)

2048 MBis the correct result .. round that 1 digit if the memory is 20 ** MB .. or what is the difficulty? - Anton Komyshan