469,645 Members | 1,634 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,645 developers. It's quick & easy.

How to get the name of the network card

How do i get the name of the network card in C#?
Nov 15 '05 #1
1 2134
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Misha" <m_******@mail.ru> wrote in message
news:31*************************@posting.google.co m...
How do i get the name of the network card in C#?

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Alphamacaroon | last post: by
reply views Thread by Rob Levine | last post: by
3 posts views Thread by chellappa | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.