2018年5月2日
摘要: 使用GetAdaptersInfo时,网卡类型的值为71,代表无线网卡。 阅读全文
posted @ 2018-05-02 17:25 Mr_Seven77 阅读(266) 评论(0) 推荐(0)
摘要: 使用string、wstring 头文件:#include <string> 命名空间:std 阅读全文
posted @ 2018-05-02 17:05 Mr_Seven77 阅读(626) 评论(0) 推荐(0)
摘要: 使用gethostname需要连接lib: #include <winsock2.h> #pragma comment(lib, "WS2_32.lib") 阅读全文
posted @ 2018-05-02 13:38 Mr_Seven77 阅读(979) 评论(0) 推荐(0)