When running the following WMI Query in C# code as administr*ator, the
NetConnectionId ("Local Area Connection", etc.) for the NICs* are
returned by the following query:
SELECT NetConnectionId FROM Win32_NetworkAdapter
However when running with the ASPNET account in a web servic*e, empty
NetConnectionId fields are returned even though rows are ret*unred for
each NIC.
I updated the security for the CIMV2 namespace in the WMICon*trol
utility; but, this did not change the results.
We have a machine that we pre-configure with specific NetCon*nectionId
values and we need to be able to retrieve the correct NIC ma*nagement
objects based on the NetConnectionId.
Any ideas?