C# detect which graphics card drives video

前端 未结 5 663
萌比男神i
萌比男神i 2021-01-01 01:55

My C# application sits on the embedded box which has Intel motherboard and graphics chipset. ATI graphics card is put on to PCI express. Generally graphics card drives the v

5条回答
  •  渐次进展
    2021-01-01 02:33

    Your question isn't entirely clear, so I'm not sure if the follwing idea will help or not.

    Perhaps something very simple would suffice:

    If the two graphics cards run different resolutions check the monitor resolution using:

    System.Windows.Forms.SystemInformation.PrimaryMonitorSize
    

    Similarly, if one card supports more than one monitor, check the number of monitors using SystemInformation.MonitorCount.

提交回复
热议问题