xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

資源簡(jiǎn)介

C++ MFC輸入IP獲取MAC地址的源程序

資源截圖

代碼片段和文件信息

//?GetMAC1-12.cpp?:?定義控制臺(tái)應(yīng)用程序的入口點(diǎn)。
//

#include?“stdafx.h“
#include?“stdio.h“
#include?“winsock2.h“
#include?“iphlpapi.h“
#pragma?comment(lib“iphlpapi.lib“)
#pragma?comment(lib“ws2_32.lib“)


int?_tmain(int?argc?_TCHAR*?argv[])
{

????ULONG?DestIP;
ULONG?PMAC[2];
ULONG?MACLEN=6;
DWORD?dwRetVal;
????
DestIP=inet_addr(argv[1]);
if((dwRetVal=SendARP(DestIP0&PMAC&MACLEN))==ERROR_SUCCESS)
{
PBYTE?pHexMAC=?(PBYTE)PMAC;
printf(“MAC地址:?%02X-%02X-%02X-%02X-%02X-%02X“pHexMAC[0]pHexMAC[1]pHexMAC[2]pHexMAC[3]pHexMAC[4]pHexMAC[5]);
}
????system(“pause“);
return?0;
}



?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-12-19?16:05??getmac\
?????目錄???????????0??2014-12-19?16:05??getmac\GetMAC1-12\
?????目錄???????????0??2014-12-19?16:05??getmac\GetMAC1-12\Debug\
?????文件???????31232??2014-09-29?10:46??getmac\GetMAC1-12\Debug\GetMAC1-12.exe
?????文件??????320680??2014-09-29?10:46??getmac\GetMAC1-12\Debug\GetMAC1-12.ilk
?????文件??????560128??2014-09-29?10:46??getmac\GetMAC1-12\Debug\GetMAC1-12.pdb
?????目錄???????????0??2014-12-19?16:05??getmac\GetMAC1-12\GetMAC1-12\
?????目錄???????????0??2014-12-19?16:05??getmac\GetMAC1-12\GetMAC1-12\Debug\
?????文件????????6720??2014-09-29?10:46??getmac\GetMAC1-12\GetMAC1-12\Debug\BuildLog.htm
?????文件?????????663??2014-09-29?10:38??getmac\GetMAC1-12\GetMAC1-12\Debug\GetMAC1-12.exe.embed.manifest
?????文件?????????728??2014-09-29?10:38??getmac\GetMAC1-12\GetMAC1-12\Debug\GetMAC1-12.exe.embed.manifest.res
?????文件?????????621??2014-09-29?10:46??getmac\GetMAC1-12\GetMAC1-12\Debug\GetMAC1-12.exe.intermediate.manifest
?????文件???????28295??2014-09-29?10:46??getmac\GetMAC1-12\GetMAC1-12\Debug\GetMAC1-12.obj
?????文件?????4128768??2014-09-29?10:36??getmac\GetMAC1-12\GetMAC1-12\Debug\GetMAC1-12.pch
?????文件??????????65??2014-09-29?10:46??getmac\GetMAC1-12\GetMAC1-12\Debug\mt.dep
?????文件???????11725??2014-09-29?10:36??getmac\GetMAC1-12\GetMAC1-12\Debug\stdafx.obj
?????文件??????437248??2014-09-29?10:46??getmac\GetMAC1-12\GetMAC1-12\Debug\vc90.idb
?????文件??????192512??2014-09-29?10:46??getmac\GetMAC1-12\GetMAC1-12\Debug\vc90.pdb
?????文件?????????634??2014-09-29?10:46??getmac\GetMAC1-12\GetMAC1-12\GetMAC1-12.cpp
?????文件????????4506??2014-09-29?10:36??getmac\GetMAC1-12\GetMAC1-12\GetMAC1-12.vcproj
?????文件????????1427??2014-12-11?20:04??getmac\GetMAC1-12\GetMAC1-12\GetMAC1-12.vcproj.DP-201202242055.Administrator.user
?????文件????????1413??2014-09-29?11:36??getmac\GetMAC1-12\GetMAC1-12\GetMAC1-12.vcproj.st407-22.st85.user
?????文件????????1201??2014-09-29?10:29??getmac\GetMAC1-12\GetMAC1-12\ReadMe.txt
?????文件?????????215??2014-09-29?10:29??getmac\GetMAC1-12\GetMAC1-12\stdafx.cpp
?????文件?????????233??2014-09-29?10:29??getmac\GetMAC1-12\GetMAC1-12\stdafx.h
?????文件?????????498??2014-09-29?10:29??getmac\GetMAC1-12\GetMAC1-12\targetver.h
?????文件????12020736??2014-12-11?20:05??getmac\GetMAC1-12\GetMAC1-12.ncb
?????文件?????????896??2014-09-29?10:29??getmac\GetMAC1-12\GetMAC1-12.sln
?????文件???????10240??2014-12-11?20:04??getmac\GetMAC1-12\GetMAC1-12.suo
?????目錄???????????0??2014-12-19?16:05??getmac\SendARP212\
?????目錄???????????0??2014-12-19?16:05??getmac\SendARP212\Debug\
............此處省略37個(gè)文件信息

評(píng)論

共有 條評(píng)論