⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.cpp

📁 获取机器特征码
💻 CPP
字号:
#include <stdio.h>
#include <windows.h>
#include <tchar.h>
#include "..\pjsecure.h"

void main()
{          
  TCHAR pszNic[13];
  if (GetNicAddress(pszNic, 13))
    _tprintf(_T("A network card was detected on your machine with NIC address %s\n"), pszNic);
  else
    _tprintf(_T("Could not determine the NIC address on this machine\n"));
 
  DWORD dwSerialNumber;
  if (GetCDriveSerialNumber(&dwSerialNumber))
    _tprintf(_T("the serial number of the c drive on your machine is %x\n"), dwSerialNumber);
  else
    _tprintf(_T("failed to retreive the serail number\n"));
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -