Get the details of the Connected NIC card

M

Manoj Nair

Hi,
In our application need a method to retrieve details of the NIC card on the
system.WMI classes win32_networkadapter seems to retrieve all the cards past
and present and does not seem to be working for us. Need a exact method
which can tell us if there is a NIC card present and if it is connected.

thanks in advance
Manoj Nair
 
A

Adrian

Hi!
Create a System.Management.SelectQuery with the condition: StatusInfo = 3,
for example.
If it does not return the correct result, it means that the StatusInfo is
null. And, in this case, I do not know what else you could do.
Hope that helps.
Best regards, Adrian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top