powershell’s “get-netadapter” replacement using C/C++ APIs
I need to obtain the network adapter GUID given the connection name as shown by Windows network manager. Powershell’s get-netadapter
does the job, but I’d like to do it in C/C++. I know that thare are two set of API function/methods: