-
在pb12.5环境下获取计算机名、IP地址、CPU序列号以及DLL信息,不限制任何条件
资源介绍
全局引用:
public function string GETCPUID() Library "GetPcInfo.dll" alias for "GETCPUID;Ansi"
public function string GETPCNAME() Library "GetPcInfo.dll" alias for "GETPCNAME;Ansi"
public function string GETIP() Library "GetPcInfo.dll" alias for "GETIP;Ansi"
public function string GETMAC() Library "GetPcInfo.dll" alias for "GETMAC;Ansi"
程序调用:
string Tgs_pcname =GETPCNAME()
string Tgs_ipadd =GETIP()
string Tgs_pcmac =GETMAC()
string Tgs_cpuid =GETCPUID()