文件名称:icePubDll
介绍说明--下载内容均来自于网络,请自行研究使用
获取计算机硬件信息的动态链接库,CPU序列号,硬盘序列号,MAC地址等信息
例程:
void gethardinfo()
{
QString str1="";
char buff[1024];
char buff2[1024];
char temp;
typedef int (WINAPI ICEPUB_MACHINEGETINFO)(int typeFlag,char *strInfo);
ICEPUB_MACHINEGETINFO *icePub_machineGetInfo = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDll.dll");
if(hDLLDrv)
{
icePub_machineGetInfo = (ICEPUB_MACHINEGETINFO *)GetProcAddress(hDLLDrv, "icePub_machineGetInfo");
}
icePub_machineGetInfo(3,buff);
str1=buff;
int i=0;
int n=0;
n=str1.length();
qDebug()<<n;
for(i=0;i<n;i+=2)
{
temp=buff[i];
buff2[i+1]=temp;
buff2[i]=buff[i+1];
}
QString str2=buff2;
qDebug()<<buff2;
qDebug()<<str2;
}(Access to the computer hardware information dynamic link library, CPU serial number, hard disk serial number, MAC address and other information)
例程:
void gethardinfo()
{
QString str1="";
char buff[1024];
char buff2[1024];
char temp;
typedef int (WINAPI ICEPUB_MACHINEGETINFO)(int typeFlag,char *strInfo);
ICEPUB_MACHINEGETINFO *icePub_machineGetInfo = 0;
HINSTANCE hDLLDrv = LoadLibrary("icePubDll.dll");
if(hDLLDrv)
{
icePub_machineGetInfo = (ICEPUB_MACHINEGETINFO *)GetProcAddress(hDLLDrv, "icePub_machineGetInfo");
}
icePub_machineGetInfo(3,buff);
str1=buff;
int i=0;
int n=0;
n=str1.length();
qDebug()<<n;
for(i=0;i<n;i+=2)
{
temp=buff[i];
buff2[i+1]=temp;
buff2[i]=buff[i+1];
}
QString str2=buff2;
qDebug()<<buff2;
qDebug()<<str2;
}(Access to the computer hardware information dynamic link library, CPU serial number, hard disk serial number, MAC address and other information)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
icePubDll.dll | 835584 | 2012-03-07 |