search

Home  >  Q&A  >  body text

c++ - 怎样获取网卡的 OS Friendly name

这是从wireshark中的截图:

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

PHPzPHPz2767 days ago578

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 11:27:50

    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.

    reply
    0
  • Cancelreply