c++ - 怎样获取网卡的 OS Friendly name
PHPz
PHPz 2017-04-17 11:25:50
0
1
573

这是从wireshark中的截图:

我想知道如何获取像图中所示的“OS Friendly name”项

PHPz
PHPz

学习是最好的投资!

reply all(1)
伊谢尔伦

If you want to get it programmatically, please use Windows API: GetAdaptersAddresses

The corresponding structure IP_ADAPTER_ADDRESSES field is FriendlyName. There are examples on MSDN, so I won’t post them here.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!