douchao9899
2019-03-15 07:21获取网卡的NetCfgInstanceId
If you know the name of a network card, how can you get its instance ID?
eg: WLAN 2 {74892867-F98B-454B-904F-88912DDE4B9F}
.
I don't want to use the command line; it's better to work with the registry. What should be the policy that matches the network card in the registry (HKLM/SYSTEM/CurrentControlSet/Control/Class/{4d36e972-e325-11ce-bfc1-08002be10318})
?
Language: Go 1.11
Platform: Windows 10
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- 获取网卡的NetCfgInstanceId
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 1个回答