2 Star 6 Fork 3

qazxlf / NetSurveyW

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
adapterInfo.h 570 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef _ADAPTER_INFO_H
#define _ADAPTER_INFO_H
#include <vector>
#include <string>
#include <winsock2.h>
#include <iphlpapi.h>
#include <Mprapi.h>
#pragma comment( lib, "Iphlpapi.lib")
#pragma comment( lib, "Mprapi.lib" )
struct MyAdapterInfo{
char ipaddress[16];
char lanFriendName[260];
char AdapterName[260];
char Description[132];
};
class adapterInfo
{
public:
adapterInfo(void);
~adapterInfo(void);
std::vector<MyAdapterInfo>& get_all_adapters();
std::string get_sel_adapter(int index);
private:
std::vector<MyAdapterInfo> _allAdapters;
};
#endif
C++
1
https://gitee.com/xulongfei0612/NetSurveyW.git
git@gitee.com:xulongfei0612/NetSurveyW.git
xulongfei0612
NetSurveyW
NetSurveyW
master

搜索帮助