Hey,
How to ensure that Graphics card (Hardware) installed or not.
With physical (GPU) Size for prerequisite recommendations.
Like RAM Size.
Regards,
Gaurav
Code: Select all
ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * from Win32_VideoController");
foreach (ManagementObject queryObj in searcher.Get())
{
Console.WriteLine("Description: {0}", queryObj["Description"]);
Console.WriteLine("AdapterRAM: {0} (Bytes)", queryObj["AdapterRAM"]);
Console.WriteLine();
}
FOLLOW US
Get the latest news in Application Packaging