1. Find out the code: graphics card information =WMI query ("select * from win32 _ videocontroller"); If the graphics card information =0, then the graphics card information = "Unable to obtain the graphics card information" or the graphics card information = ""; Object operation (graphics card information, add code, "graphics card serial number:").
2. Object operation (graphics card information, added code, object attributes (graphics card information, "serial number")); If the display (graphics card information) ends.
3. Get the related attribute information of Win32_VideoController class through this query statement, including the serial number of the graphics card. Then the serial number is added to the string and displayed. Yi language is a relatively simple and easy-to-learn programming language, which is mainly used for software development of Windows platform. It was created by China developer Yu Chunguang to provide a beginner-friendly programming language.