Windows通过代码调用wmi c++ - How to get system serial number? - Stack Overflow Example: Getting WMI Data from the Local Computer - Win32 apps | Microsoft Learn