Hello. I am developing a program for the needs of my organization and one thing remains: it is necessary to determine the type of video card (integrated or not). I rummaged through the whole Internet and did not find a good approach. They even suggest using CPU-Z, which is impossible in my case. I found the following parameter description in the WMI documentation (WIN32_VideoController):
$ProtocolSupported_ReturnValue =
@{
1='Other'
2='Unknown'
3='EISA'
4='ISA'
5='PCI'
6='ATA/ATAPI'
7='Flexible Diskette'
8='1496'
9='SCSI Parallel Interface'
10='SCSI Fibre Channel Protocol'
11='SCSI Serial Bus Protocol'
12='SCSI Serial Bus Protocol-2 (1394)'
13='SCSI Serial Storage Architecture'
14='VESA'
15='PCMCIA'
16='Universal Serial Bus'
17='Parallel Protocol'
18='ESCON'
19='Diagnostic'
20='I2C'
21='Power'
22='HIPPI'
23='MultiBus'
24='VME'
25='IPI'
26='IEEE-488'
27='RS232'
28='IEEE 802.3 10BASE5'
29='IEEE 802.3 10BASE2'
30='IEEE 802.3 1BASE5'
31='IEEE 802.3 10BROAD36'
32='IEEE 802.3 100BASEVG'
33='IEEE 802.5 Token-Ring'
34='ANSI X3T9.5 FDDI'
35='MCA'
36='ESDI'
37='IDE'
38='CMD'
39='ST506'
40='DSSI'
41='QIC2'
42='Enhanced ATA/IDE'
43='AGP'
44='TWIRP (two-way infrared)'
45='FIR (fast infrared)'
46='SIR (serial infrared)'
47='IrBus'
}
Tell me, please, what value will correspond to the integrated video card, and what value - to the dedicated?
P.S.: When I tried to get the protocol type, both video cards on the laptop return null for this parameter. Are there any other ways to determine the type of video card?