WinDevice/WinDevice/Utils/SysInfoUtil.h
2023-09-12 20:17:38 +08:00

28 lines
426 B
C++

#pragma once
#pragma comment(lib, "IPHLPAPI.lib")
#pragma comment(lib, "wbemuuid.lib")
class SysInfoUtil
{
public:
void GetMacByGetAdaptersInfo(char* outMAC) const;
static int GetInfoByWMI();
static void GetInfoByEnumDisplayMonitors();
static int GetInfoByEnumDisplayDevices();
static int GetInfoByQueryDisplayConfig();
static void GetInfoByEdid();
static int GetInfoByCfgmgr();
};