You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#include <string>
|
|
|
|
|
#include "MasterHardDiskSerial.h"
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
using namespace std;
|
|
|
|
|
class cPhysicsInfoUtils
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
cPhysicsInfoUtils(void);
|
|
|
|
|
~cPhysicsInfoUtils(void);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
//<2F><>ȡӲ<C8A1><D3B2><EFBFBD><EFBFBD><EFBFBD>к<EFBFBD>
|
|
|
|
|
//BOOL GetSerialNum(string& pSerialNum);//<2F><><EFBFBD>Բ<EFBFBD><D4B2><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
BOOL GetHardDiskSerial(string& pSerial);
|
|
|
|
|
|
|
|
|
|
//<2F><>ȡMAC<41><43>ַ
|
|
|
|
|
BOOL GetMAC(string& pMac);
|
|
|
|
|
|
|
|
|
|
//<2F><>ȡCPU ID
|
|
|
|
|
BOOL GetCPU_iD(string& pCPU_iD);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void getcpuid(unsigned int *CPUInfo, unsigned int InfoType);
|
|
|
|
|
void getcpuidex(unsigned int *CPUInfo, unsigned int InfoType, unsigned int ECXValue);
|
|
|
|
|
};
|
|
|
|
|
|