How to get the name of the network card

  • Thread starter Thread starter Misha
  • Start date Start date
Misha,

I would use the classes in the System.Management namespace to access the
WMI providers for the network adapter. Basically, you want to do a query
for the Win32_NetworkAdapter instance which corresponds to the adapter.
Then, you can get the NetConnectionID property which will give you the
display name for that adapter.

Hope this helps.
 
Back
Top